Skip to content

Commit b3cea72

Browse files
authored
Update gh-pages.yml
Fix wrong ref name
1 parent d83d913 commit b3cea72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232

3333
- name: Deploy
3434
uses: peaceiris/actions-gh-pages@v4
35-
if: github.ref == 'refs/heads/main'
35+
if: github.ref == 'refs/heads/master'
3636
with:
3737
github_token: ${{ secrets.GITHUB_TOKEN }}
3838
publish_dir: ./build/web
3939

4040
- name: Deploy (Test)
4141
uses: peaceiris/actions-gh-pages@v4
42-
if: github.ref != 'refs/heads/main'
42+
if: github.ref != 'refs/heads/master'
4343
with:
4444
github_token: ${{ secrets.GITHUB_TOKEN }}
4545
publish_dir: ./build/web

0 commit comments

Comments
 (0)