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:
7
.github/workflows/publish_documentation.yml
vendored
7
.github/workflows/publish_documentation.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user