Skip to content

Commit 1a52507

Browse files
authored
Merge pull request #257 from thewtex/8f6d-ensure-the-deplo
ci: restrict deploy job to push events only
2 parents 0a9da9f + ecd004c commit 1a52507

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build.yml

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

5858
deploy:
5959
needs: build
60+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6061
runs-on: ubuntu-latest
6162
permissions:
6263
pages: write

0 commit comments

Comments
 (0)