mirror of
https://github.com/Laurent2916/Diffusers.jl.git
synced 2024-11-08 22:42:01 +00:00
27 lines
609 B
YAML
27 lines
609 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.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
|
||
|
- name: Build and deploy
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
run: julia --project=docs/ docs/make.jl
|