Skip to content

Commit c0ca11d

Browse files
authored
quickfix for failing doc build after #132
think the problem was that deps were installed in wrong working dir. Took the 'diving into pygeoapi' Action as example.
1 parent 7f95d92 commit c0ca11d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/website.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: website ⚙️
33
on:
44
push:
55
paths:
6-
- 'web/docs/**'
6+
- 'web/**'
7+
8+
defaults:
9+
run:
10+
working-directory: web
711

812
jobs:
913
build:
@@ -17,6 +21,6 @@ jobs:
1721
- name: Install requirements 📦
1822
run: |
1923
python -m pip install --upgrade pip
20-
pip install mkdocs mkdocs-material
24+
pip install -r requirements.txt
2125
- name: Deploy 📦
22-
run: cd web && mkdocs gh-deploy --force -m 'update website'
26+
run: mkdocs gh-deploy --strict --force --message 'update website via GitHub Actions'

0 commit comments

Comments
 (0)