Skip to content

Commit 8677e68

Browse files
committed
Can only deploy to github pages from default branch
1 parent fea6966 commit 8677e68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy-wasm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343

4444
deploy:
4545
needs: build
46+
if: github.ref == 'refs/heads/main'
4647
permissions:
4748
pages: write
4849
id-token: write

0 commit comments

Comments
 (0)