Skip to content

Commit b7bd523

Browse files
committed
use peaceiris instead
1 parent 36cc17d commit b7bd523

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-deploy.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
run: |
3030
npm run build
3131
npm run build:docs
32-
- name: Preview Pages
33-
uses: rajyan/preview-pages@v1
32+
- name: Deploy to GitHub Pages
33+
uses: peaceiris/actions-gh-pages@v4
3434
with:
35-
source-dir: build/docs/gatsby/public
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
publish_dir: build/docs/gatsby/public
37+
destination_dir: preview/pr-${{ github.event.number }}
38+
force_orphan: true

0 commit comments

Comments
 (0)