Skip to content

Commit 8f5d9ce

Browse files
committed
try gh-pages action
1 parent bbd6529 commit 8f5d9ce

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ jobs:
4545
- uses: Borales/[email protected]
4646
with:
4747
cmd: build:prod
48-
- run: |
49-
git config user.name github-actions
50-
git config user.email [email protected]
51-
git add .
52-
git commit -m "Deploy to GitHub pages"
53-
git push --prefix dist origin gh-pages
48+
- uses: peaceiris/actions-gh-pages@v3
49+
with:
50+
publish_dir: ./dist
51+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)