Skip to content

Commit 470ca25

Browse files
peaceiris/actions-gh-pages@v4
1 parent e6a329a commit 470ca25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
- name: Build site
4343
run: npm run build
4444
- name: Deploy
45-
uses: peaceiris/actions-gh-pages@v3
45+
uses: peaceiris/actions-gh-pages@v4
46+
if: github.ref == 'refs/heads/main'
4647
with:
4748
github_token: ${{ secrets.GITHUB_TOKEN }}
4849
publish_dir: ./dist

0 commit comments

Comments
 (0)