mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
💚 fix documentation deploy
This commit is contained in:
parent
0261bc04d3
commit
4ffd5bd18e
9
.github/workflows/publish_documentation.yml
vendored
9
.github/workflows/publish_documentation.yml
vendored
@ -31,5 +31,10 @@ jobs:
|
||||
- name: Install virtual environment
|
||||
run: make install_venv -C docs/mkdocs
|
||||
|
||||
- name: Publish documentation
|
||||
run: make publish -C docs/mkdocs
|
||||
- name: Build documentation
|
||||
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:
|
||||
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
|
||||
venv/bin/mkdocs gh-deploy --clean --force
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user