From 1dc12890d1cda9dea0a20e952dbb9a5e1dc7b1ff Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 5 Mar 2021 16:36:31 -0500 Subject: [PATCH] Update event name in webhook --- .github/calcrom/webhook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/calcrom/webhook.sh b/.github/calcrom/webhook.sh index 5dd65a75f2..a0303c2b31 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