File tree Expand file tree Collapse file tree 2 files changed +35
-17
lines changed Expand file tree Collapse file tree 2 files changed +35
-17
lines changed Original file line number Diff line number Diff line change 62
62
with :
63
63
token : ${{ secrets.CODECOV_TOKEN }}
64
64
file : lcov.info
65
- docs :
66
- name : Documentation
67
- runs-on : ubuntu-latest
68
- steps :
69
- - uses : actions/checkout@v4
70
- - uses : julia-actions/setup-julia@v1
71
- with :
72
- version : ' 1'
73
- - run : |
74
- julia --project=docs -e '
75
- using Pkg
76
- Pkg.develop(PackageSpec(path=pwd()))
77
- Pkg.instantiate()'
78
- - run : julia --project=docs docs/make.jl
79
- env :
80
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ tags : ' *'
7
+ paths-ignore :
8
+ - ' LICENSE.md'
9
+ - ' README.md'
10
+ - ' .github/workflows/TagBot.yml'
11
+ pull_request :
12
+ paths-ignore :
13
+ - ' LICENSE.md'
14
+ - ' README.md'
15
+ - ' .github/workflows/TagBot.yml'
16
+
17
+ jobs :
18
+ build :
19
+ permissions :
20
+ contents : write
21
+ statuses : write
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - uses : julia-actions/setup-julia@v1
26
+ with :
27
+ version : ' 1.10'
28
+ - uses : julia-actions/cache@v1
29
+ - name : Install dependencies
30
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
31
+ - name : Build and deploy
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
34
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
35
+ run : julia --project=docs/ docs/make.jl
You can’t perform that action at this time.
0 commit comments