Skip to content

Commit 390d858

Browse files
committed
use peaceiris
1 parent 487bb06 commit 390d858

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ jobs:
2727
- run: npm run build
2828
- run: npm run build:docs
2929
- name: Deploy to GitHub Pages
30-
if: success()
31-
uses: crazy-max/ghaction-github-pages@v4
30+
uses: peaceiris/actions-gh-pages@v4
3231
with:
33-
target_branch: gh-pages
34-
build_dir: build/docs/gatsby/public
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: build/docs/gatsby/public

0 commit comments

Comments
 (0)