summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/calcrom/webhook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/calcrom/webhook.sh b/.github/calcrom/webhook.sh
index 5dd65a75f..a0303c2b3 100755
--- a/.github/calcrom/webhook.sh
+++ b/.github/calcrom/webhook.sh
@@ -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" != "false" ]]; then
+if [[ "$GITHUB_REF" != "refs/heads/master" || "$GITHUB_EVENT_NAME" != "push" ]]; then
exit 0
fi