Skip to content

Commit 6eab7a2

Browse files
committed
💚 fix documentation deploy
1 parent 1dfe407 commit 6eab7a2

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/publish_documentation.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
run: make build -C docs/mkdocs
3636

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

docs/mkdocs/Makefile

Lines changed: 1 addition & 1 deletion
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 GitHub Actions)
24+
# publish site to GitHub pages (not working in GitHub Actions; need special action)
2525
publish: prepare_files
2626
venv/bin/mkdocs gh-deploy --clean --force
2727

0 commit comments

Comments
 (0)