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 1
1
name : Documentation
2
2
3
3
on :
4
- pull_request :
5
4
push :
6
5
branches :
7
- - ' master'
8
- - ' release-'
6
+ - master
9
7
tags : ' *'
10
- release :
11
- types : [published]
8
+ pull_request :
12
9
13
10
jobs :
14
11
build :
15
- runs-on : ${{ matrix.os }}
16
- strategy :
17
- matrix :
18
- julia-version : [1]
19
- os : [ubuntu-latest]
12
+ runs-on : ubuntu-latest
20
13
steps :
21
14
- uses : actions/checkout@v2
22
15
- uses : julia-actions/setup-julia@latest
23
16
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'
36
18
- name : Install dependencies
37
19
run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
38
20
- name : Build and deploy
39
21
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
41
24
run : julia --project=docs/ docs/make.jl
Original file line number Diff line number Diff line change 12
12
- uses : JuliaRegistries/TagBot@v1
13
13
with :
14
14
token : ${{ secrets.GITHUB_TOKEN }}
15
+ ssh : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments