Skip to content

Commit 1032b2c

Browse files
author
Avik Pal
committed
fix docs?
1 parent d55056b commit 1032b2c

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22
on:
3-
# - push
3+
- push
44
- pull_request
55
jobs:
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

0 commit comments

Comments
 (0)