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:
9
.github/workflows/publish_documentation.yml
vendored
9
.github/workflows/publish_documentation.yml
vendored
@ -31,5 +31,10 @@ jobs:
|
|||||||
- name: Install virtual environment
|
- name: Install virtual environment
|
||||||
run: make install_venv -C docs/mkdocs
|
run: make install_venv -C docs/mkdocs
|
||||||
|
|
||||||
- name: Publish documentation
|
- name: Build documentation
|
||||||
run: make publish -C docs/mkdocs
|
run: make build -C docs/mkdocs
|
||||||
|
|
||||||
|
- name: Deploy documentation
|
||||||
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
with:
|
||||||
|
folder: docs/mkdocs/site
|
||||||
|
@ -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
|
# publish site to GitHub pages (not working in CI)
|
||||||
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