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 11name : CI
22on :
3- # - push
3+ - push
44 - pull_request
55jobs :
66 test :
@@ -42,21 +42,13 @@ jobs:
4242 runs-on : ubuntu-latest
4343 steps :
4444 - uses : actions/checkout@v2
45- - uses : julia-actions/setup-julia@v1
45+ - uses : julia-actions/setup-julia@latest
4646 with :
4747 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
6051 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