Commit f82e6f3 1 parent 18fc60d commit f82e6f3 Copy full SHA for f82e6f3
File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ tags : ["*"]
8
+ pull_request :
9
+ branches :
10
+ - main
11
+ types : [opened, synchronize, reopened]
12
+
13
+ concurrency :
14
+ # Skip intermediate builds: always.
15
+ # Cancel intermediate builds: only if it is a pull request build.
16
+ group : ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
18
+
19
+ jobs :
20
+ docs :
21
+ name : Documentation
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - uses : julia-actions/setup-julia@v2
26
+ with :
27
+ version : " 1"
28
+ - name : Use Julia cache
29
+ uses : julia-actions/cache@v2
30
+ - run : |
31
+ julia --project=docs -e '
32
+ using Pkg
33
+ Pkg.develop(PackageSpec(path=pwd()))
34
+ Pkg.instantiate()'
35
+ - run : |
36
+ julia --project=docs -e '
37
+ using Documenter: DocMeta, doctest
38
+ using BackAction
39
+ DocMeta.setdocmeta!(BackAction, :DocTestSetup, :(using BackAction); recursive=true)
40
+ doctest(BackAction)'
41
+ - run : julia --project=docs docs/make.jl
42
+ env :
43
+ JULIA_PKG_SERVER : " "
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments