File tree Expand file tree Collapse file tree 1 file changed +11
-21
lines changed Expand file tree Collapse file tree 1 file changed +11
-21
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 :
7
7
tags : ' *'
8
8
pull_request :
9
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
+
10
14
jobs :
11
- build :
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v4
15
- - uses : julia-actions/setup-julia@latest
16
- with :
17
- version : ' <1.10.3 || >=1.10.4'
18
- - name : Install dependencies
19
- run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20
- - name : Build and deploy
21
- env :
22
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
23
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
24
- run : julia --project=docs/ --code-coverage=user docs/make.jl
25
- - uses : julia-actions/julia-processcoverage@v1
26
- - uses : codecov/codecov-action@v5
27
- with :
28
- files : lcov.info
29
- token : ${{ secrets.CODECOV_TOKEN }}
30
- 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"
19
+ with :
20
+ julia-version : ' <1.10.3 || >=1.10.4'
You can’t perform that action at this time.
0 commit comments