Commit c78dfef 1 parent 3c8e143 commit c78dfef Copy full SHA for c78dfef
File tree 1 file changed +15
-10
lines changed
1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : Documentation
2
+
2
3
on :
3
4
push :
4
5
branches :
5
6
- ' master'
6
7
- ' release-'
7
8
tags : ' *'
8
9
pull_request :
10
+
9
11
jobs :
10
- docs :
11
- name : Documentation
12
+ build :
13
+ permissions :
14
+ contents : write
15
+ pull-requests : read
16
+ statuses : write
12
17
runs-on : macOS-latest
13
18
steps :
14
19
- uses : actions/checkout@v4
15
20
- uses : julia-actions/setup-julia@v2
16
21
with :
17
- version : " 1"
18
- - run : julia --project=docs -e '
19
- using Pkg;
20
- Pkg.develop(PackageSpec(; path=pwd()));
21
- Pkg.instantiate();'
22
- - run : julia --project=docs/ --code-coverage=user docs/make.jl
22
+ version : ' 1'
23
+ - uses : julia-actions/cache@v1
24
+ - name : Install dependencies
25
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
26
+ - name : Build and deploy
23
27
env :
24
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
29
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
26
30
GKSwstype : 100
31
+ run : julia --project=docs/ docs/make.jl
27
32
- uses : julia-actions/julia-uploadcodecov@latest
28
33
env :
29
34
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments