File tree 1 file changed +9
-24
lines changed
1 file changed +9
-24
lines changed Original file line number Diff line number Diff line change 1
- name : Documentation
1
+ name : " Documentation"
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- master
7
- - ' release-'
8
7
tags : ' *'
9
8
pull_request :
10
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
13
+
11
14
jobs :
12
- build :
13
- runs-on : ubuntu-latest
14
- steps :
15
- - uses : actions/checkout@v4
16
- - uses : julia-actions/setup-julia@latest
17
- with :
18
- version : ' 1'
19
- - name : Install dependencies
20
- run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
21
- - name : Build and deploy
22
- env :
23
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
24
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
25
- run : julia --project=docs/ --code-coverage=user docs/make.jl
26
- - uses : julia-actions/julia-processcoverage@v1
27
- with :
28
- directories : src
29
- - uses : codecov/codecov-action@v4
30
- with :
31
- files : lcov.info
32
- token : ${{ secrets.CODECOV_TOKEN }}
33
- fail_ci_if_error : true
15
+ build-and-deploy-docs :
16
+ name : " Documentation"
17
+ uses : " SciML/.github/.github/workflows/documentation.yml@v1"
18
+ secrets : " inherit"
You can’t perform that action at this time.
0 commit comments