File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed
Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change 11name : Documenter
22on :
3- push :
4- branches : [master]
3+ push :
4+ branches : [main, master]
55 tags : [v*]
6- pull_request :
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
712
813jobs :
9- Documenter :
14+ Documenter :
1015 name : Documentation
1116 runs-on : ubuntu-latest
1217 steps :
13- - uses : actions/checkout@v2
14- - uses : julia-actions/julia-buildpkg@latest
15- - uses : julia-actions/julia-docdeploy@latest
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
1626 env :
17- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments