revert build.yml, webhook.sh

This commit is contained in:
Adrienn Tindall 2024-11-01 19:27:10 -04:00
parent 5fe6d0190b
commit 28cf07be70
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -2,7 +2,7 @@ name: build
on:
push:
branches: [ main ]
branches: [ master ]
pull_request:
workflow_dispatch: