Skip to content

Commit 7924f86

Browse files
authored
Update gh-pages.yml
1 parent 59dd42e commit 7924f86

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ jobs:
3636
with:
3737
github_token: ${{ secrets.GITHUB_TOKEN }}
3838
publish_dir: ./build/web
39+
40+
- name: Deploy
41+
uses: peaceiris/actions-gh-pages@v4
42+
if: github.ref != 'refs/heads/main'
43+
with:
44+
github_token: ${{ secrets.GITHUB_TOKEN }}
45+
publish_dir: ./build/web
46+
publish_branch: gh-pages-test

0 commit comments

Comments
 (0)