File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on :
3
- # - push
3
+ - push
4
4
- pull_request
5
5
jobs :
6
6
test :
@@ -42,21 +42,13 @@ jobs:
42
42
runs-on : ubuntu-latest
43
43
steps :
44
44
- uses : actions/checkout@v2
45
- - uses : julia-actions/setup-julia@v1
45
+ - uses : julia-actions/setup-julia@latest
46
46
with :
47
47
version : ' 1'
48
- - run : |
49
- julia --project=docs -e '
50
- using Pkg
51
- Pkg.develop(PackageSpec(path=pwd()))
52
- Pkg.instantiate()'
53
- - run : |
54
- julia --project=docs -e '
55
- using Documenter: DocMeta, doctest
56
- using LinearSolvers
57
- DocMeta.setdocmeta!(LinearSolvers, :DocTestSetup, :(using LinearSolvers); recursive=true)
58
- doctest(LinearSolvers)'
59
- - run : julia --project=docs docs/make.jl
48
+ - name : Install dependencies
49
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
50
+ - name : Build and deploy
60
51
env :
61
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
52
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
53
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
54
+ run : julia --project=docs/ docs/make.jl
You can’t perform that action at this time.
0 commit comments