Move webhook event check to workflow
This commit is contained in:
5
.github/calcrom/webhook.sh
vendored
5
.github/calcrom/webhook.sh
vendored
@@ -1,10 +1,5 @@
|
||||
#!/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
|
||||
exit 0
|
||||
fi
|
||||
|
||||
build_name=$1
|
||||
map_file=$build_name.map
|
||||
if [ ! -f $map_file ]; then
|
||||
|
||||
Reference in New Issue
Block a user