Skip to content

Commit fe0482e

Browse files
authored
Merge pull request #34 from GNS-Science/chrisbc-patch-1
Update python-deploy-docs.yml - ensure the project itself is installed - closing FIX: docs workflow not supporting optional doc group #33
2 parents 8016eca + 4099ef9 commit fe0482e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/python-deploy-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ jobs:
7070

7171
#----------------------------------------------
7272
# build documentation
73+
# - we must also ensure that the project itself is installed
7374
#----------------------------------------------
7475
- name: build documentation
7576
run: |
77+
poetry install --only-root
7678
poetry run mkdocs build
7779
7880
#----------------------------------------------
@@ -89,4 +91,4 @@ jobs:
8991
#----------------------------------------------
9092
- name: Deploy Docs to GitHub Pages
9193
id: deployment
92-
uses: actions/deploy-pages@v4
94+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)