Skip to content

Commit 98f21e8

Browse files
committed
tweak docs workflow
1 parent 023380b commit 98f21e8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/Documenter.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Documenter
1+
name: Documentation
2+
23
on:
34
push:
45
branches: [main]
@@ -16,13 +17,11 @@ jobs:
1617
contents: write
1718
runs-on: ubuntu-latest
1819
steps:
19-
- uses: actions/checkout@v3
20-
- uses: julia-actions/setup-julia@v1
20+
- uses: actions/checkout@v4
21+
- uses: julia-actions/setup-julia@v2
2122
- uses: julia-actions/cache@v1
22-
with:
23-
cache-registries: "true"
2423
- name: Install documentation dependencies
25-
run: julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate()'
24+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2625
- name: Build and deploy
2726
env:
2827
RASTERDATASOURCES_PATH: "/tmp"
@@ -33,4 +32,4 @@ jobs:
3332
DATADEPS_ALWAYS_ACCEPT: true
3433
run: |
3534
julia --project=docs/ --color=yes docs/genfiles.jl
36-
julia --project=docs/ --color=yes docs/make.jl
35+
julia --project=docs/ --color=yes docs/make.jl

0 commit comments

Comments
 (0)