mirror of https://github.com/nlohmann/json.git
💚 fix documentation deploy
parent
4ffd5bd18e
commit
1dfe4073e3
|
@ -35,6 +35,9 @@ jobs:
|
||||||
run: make build -C docs/mkdocs
|
run: make build -C docs/mkdocs
|
||||||
|
|
||||||
- name: Deploy documentation
|
- name: Deploy documentation
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: crazy-max/ghaction-github-pages@v4
|
||||||
with:
|
with:
|
||||||
folder: docs/mkdocs/site
|
target_branch: gh-pages
|
||||||
|
build_dir: docs/mkdocs/site
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -21,7 +21,7 @@ style_check:
|
||||||
clean:
|
clean:
|
||||||
rm -fr docs/images/json.gif docs/examples
|
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
|
publish: prepare_files
|
||||||
venv/bin/mkdocs gh-deploy --clean --force
|
venv/bin/mkdocs gh-deploy --clean --force
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue