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