Skip to content

Commit 4bedf77

Browse files
authored
Update deploy.yml
1 parent 115300b commit 4bedf77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# done
5353
pnpm build
5454
55-
- name: Deploy to GitHub Pages
56-
if: github.ref == 'refs/heads/main'
57-
run: |
58-
pnpm run deploy
55+
- uses: peaceiris/actions-gh-pages@v3
56+
with:
57+
github_token: ${{ secrets.GITHUB_TOKEN }}
58+
publish_dir: ./build

0 commit comments

Comments
 (0)