💚 fix documentation deploy

pull/4092/merge
Niels Lohmann 2023-11-01 22:09:53 +01:00
parent 4ffd5bd18e
commit 1dfe4073e3
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
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