Update event name in webhook
This commit is contained in:
parent
c05f529a19
commit
1dc12890d1
1 changed files with 1 additions and 1 deletions
2
.github/calcrom/webhook.sh
vendored
2
.github/calcrom/webhook.sh
vendored
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
# Only run this script if it's the master branch build.
|
# 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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue