mirror of
https://github.com/Laurent2916/Diffusers.jl.git
synced 2024-09-07 21:49:58 +00:00
27 lines
571 B
YAML
27 lines
571 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags: '*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
permissions:
|
|
contents: write
|
|
statuses: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: julia-actions/setup-julia@v1
|
|
with:
|
|
version: '1.9'
|
|
- name: Install dependencies
|
|
run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
|
|
- name: Build and deploy
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: julia --project=docs/ docs/make.jl
|