File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 99 tags : ' *'
1010jobs :
1111 docs :
12+ permissions :
13+ contents : write
14+ statuses : write
1215 name : Documentation
1316 runs-on : ubuntu-latest
1417 steps :
1518 - uses : actions/checkout@v4
1619 - uses : julia-actions/setup-julia@v1
1720 with :
1821 version : ' 1'
19- - run : |
20- julia --project -e '
21- using Pkg
22- Pkg.instantiate()'
23- julia --project=docs -e '
24- using Pkg
25- Pkg.instantiate()'
26- - run : julia --project=docs docs/make.jl
22+ - name : Install dependencies
23+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
24+ - name : Build and deploy
2725 env :
28- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
27+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
28+ run : julia --project=docs/ docs/make.jl
You can’t perform that action at this time.
0 commit comments