1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

💚 fix documentation deploy

This commit is contained in:
Niels Lohmann
2023-11-01 22:09:53 +01:00
parent 4ffd5bd18e
commit 1dfe4073e3
2 changed files with 6 additions and 3 deletions

View File

@ -35,6 +35,9 @@ jobs:
run: make build -C docs/mkdocs
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@v4
uses: crazy-max/ghaction-github-pages@v4
with:
folder: docs/mkdocs/site
target_branch: gh-pages
build_dir: docs/mkdocs/site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -21,7 +21,7 @@ style_check:
clean:
rm -fr docs/images/json.gif docs/examples
# publish site to GitHub pages (not working in CI)
# publish site to GitHub pages (not working in GitHub Actions)
publish: prepare_files
venv/bin/mkdocs gh-deploy --clean --force