Skip to content

Commit

Permalink
Update webhook.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienntindall committed Oct 31, 2024
1 parent f3cabab commit 894d1c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/calcrom/webhook.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -ex

# Only run this script if it's the master branch build.
if [[ "$GITHUB_REF" != "refs/heads/master" || "$GITHUB_EVENT_NAME" != "push" ]]; then
# Only run this script if it's the main branch build.
if [[ "$GITHUB_REF" != "refs/heads/main" || "$GITHUB_EVENT_NAME" != "push" ]]; then
exit 0
fi

Expand Down

0 comments on commit 894d1c4

Please sign in to comment.