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 1dfe407 commit 6eab7a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
run: make build -C docs/mkdocs

- name: Deploy documentation
uses: crazy-max/ghaction-github-pages@v4
uses: peaceiris/actions-gh-pages@v3
with:
target_branch: gh-pages
build_dir: docs/mkdocs/site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./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 (not working in GitHub Actions)
# publish site to GitHub pages (not working in GitHub Actions; need special action)
publish: prepare_files
venv/bin/mkdocs gh-deploy --clean --force

Expand Down

0 comments on commit 6eab7a2

Please sign in to comment.