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 9
9
tags : ' *'
10
10
jobs :
11
11
docs :
12
+ permissions :
13
+ contents : write
14
+ statuses : write
12
15
name : Documentation
13
16
runs-on : ubuntu-latest
14
17
steps :
15
18
- uses : actions/checkout@v4
16
19
- uses : julia-actions/setup-julia@v1
17
20
with :
18
21
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
27
25
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