summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-01-28 10:04:07 -0600
committerSeth Barberee <seth.barberee@gmail.com>2021-01-28 10:04:07 -0600
commit5303d952dc58437c474ab5720a59e85168123ced (patch)
tree02912de741640ae645af00a89e93ef8216552d74
parent9bd9b71d1e87b0e52e6e04b402bcff7ed48ee386 (diff)
fixup webhook for github
-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