File tree Expand file tree Collapse file tree 2 files changed +7
-23
lines changed Expand file tree Collapse file tree 2 files changed +7
-23
lines changed Original file line number Diff line number Diff line change 11name : Documentation
22
33on :
4- pull_request :
54 push :
65 branches :
7- - ' master'
8- - ' release-'
6+ - master
97 tags : ' *'
10- release :
11- types : [published]
8+ pull_request :
129
1310jobs :
1411 build :
15- runs-on : ${{ matrix.os }}
16- strategy :
17- matrix :
18- julia-version : [1]
19- os : [ubuntu-latest]
12+ runs-on : ubuntu-latest
2013 steps :
2114 - uses : actions/checkout@v2
2215 - uses : julia-actions/setup-julia@latest
2316 with :
24- version : ${{ matrix.julia-version }}
25- - name : Cache artifacts
26- uses : actions/cache@v1
27- env :
28- cache-name : cache-artifacts
29- with :
30- path : ~/.julia/artifacts
31- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
32- restore-keys : |
33- ${{ runner.os }}-test-${{ env.cache-name }}-
34- ${{ runner.os }}-test-
35- ${{ runner.os }}-
17+ version : ' 1'
3618 - name : Install dependencies
3719 run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
3820 - name : Build and deploy
3921 env :
40- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
23+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
4124 run : julia --project=docs/ docs/make.jl
Original file line number Diff line number Diff line change 1212 - uses : JuliaRegistries/TagBot@v1
1313 with :
1414 token : ${{ secrets.GITHUB_TOKEN }}
15+ ssh : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments