Skip to content

Commit

Permalink
💚 fix documentation deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Nov 1, 2023
1 parent 0261bc0 commit 4ffd5bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@ jobs:
- name: Install virtual environment
run: make install_venv -C docs/mkdocs

- name: Publish documentation
run: make publish -C docs/mkdocs
- name: Build documentation
run: make build -C docs/mkdocs

- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/mkdocs/site
2 changes: 1 addition & 1 deletion docs/mkdocs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ style_check:
clean:
rm -fr docs/images/json.gif docs/examples

# publish site to GitHub pages
# publish site to GitHub pages (not working in CI)
publish: prepare_files
venv/bin/mkdocs gh-deploy --clean --force

Expand Down

0 comments on commit 4ffd5bd

Please sign in to comment.