summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/calcrom/webhook.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/calcrom/webhook.sh b/.github/calcrom/webhook.sh
index 86da74c..143476c 100755
--- a/.github/calcrom/webhook.sh
+++ b/.github/calcrom/webhook.sh
@@ -1,9 +1,6 @@
#!/bin/bash -ex
-# Only run this script if it's the master branch build.
-if [[ "$TRAVIS_BRANCH" != "master" || "$TRAVIS_PULL_REQUEST" != "false" ]]; then
- exit 0
-fi
+# the workflow will make sure this runs on a push to master only
build_name=$1
map_file=$build_name.map