Skip to content

Commit 90d3f04

Browse files
committed
update doc build process
this new version should avoid delays caused by the PKG server
1 parent 4afdd37 commit 90d3f04

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,14 @@ jobs:
4545
- uses: julia-actions/setup-julia@v1
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 NetworkLayout
57-
DocMeta.setdocmeta!(NetworkLayout, :DocTestSetup, :(using NetworkLayout); recursive=true)
58-
doctest(NetworkLayout)'
59-
- run: julia --project=docs docs/make.jl
48+
- uses: julia-actions/julia-buildpkg@v1
49+
- uses: julia-actions/julia-docdeploy@v1
6050
env:
6151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6252
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
53+
- run: |
54+
julia --project=docs -e '
55+
using Documenter: DocMeta, doctest
56+
using GraphMakie
57+
DocMeta.setdocmeta!(GraphMakie, :DocTestSetup, :(using GraphMakie); recursive=true)
58+
doctest(GraphMakie)'

0 commit comments

Comments
 (0)