Rename master -> main in webhook.sh

This commit is contained in:
luckytyphlosion 2022-12-22 18:17:27 -05:00
parent a46fcc3646
commit 251310f69c

View File

@ -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" != "push" ]]; then
# Only run this script if it's the main branch build.
if [[ "$GITHUB_REF" != "refs/heads/main" || "$GITHUB_EVENT_NAME" != "push" ]]; then
exit 0
fi