Skip to content

Commit 1dfe407

Browse files
committed
💚 fix documentation deploy
1 parent 4ffd5bd commit 1dfe407

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish_documentation.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
run: make build -C docs/mkdocs
3636

3737
- name: Deploy documentation
38-
uses: JamesIves/github-pages-deploy-action@v4
38+
uses: crazy-max/ghaction-github-pages@v4
3939
with:
40-
folder: docs/mkdocs/site
40+
target_branch: gh-pages
41+
build_dir: docs/mkdocs/site
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/mkdocs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ style_check:
2121
clean:
2222
rm -fr docs/images/json.gif docs/examples
2323

24-
# publish site to GitHub pages (not working in CI)
24+
# publish site to GitHub pages (not working in GitHub Actions)
2525
publish: prepare_files
2626
venv/bin/mkdocs gh-deploy --clean --force
2727

0 commit comments

Comments
 (0)