File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Documenter
2
+ on :
3
+ push :
4
+ branches : [main, master]
5
+ tags : [v*]
6
+ pull_request :
7
+
8
+ permissions :
9
+ actions : write # needed to allow julia-actions/cache to delete old caches that it has created
10
+ contents : write # needed to allow deploying docs
11
+ statuses : write
12
+
13
+ jobs :
14
+ Documenter :
15
+ name : Documentation
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - uses : julia-actions/setup-julia@v2
20
+ with :
21
+ version : ' 1' # replace this with whatever version you need
22
+ show-versioninfo : true # this causes versioninfo to be printed to the action log
23
+ - uses : julia-actions/cache@v2 # cache using https://github.com/julia-actions/cache
24
+ - uses : julia-actions/julia-buildpkg@v1 # if package requires Pkg.build()
25
+ - uses : julia-actions/julia-docdeploy@v1
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments