Skip to content

Commit cc4c636

Browse files
committed
only deploy to gh-page when push on main
1 parent f83f234 commit cc4c636

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
environment:
5050
name: github-pages
5151
needs: build
52+
if: github.ref == 'refs/heads/main'
5253
runs-on: ubuntu-latest
5354
permissions:
5455
pages: write

0 commit comments

Comments
 (0)