mirror of
https://github.com/pret/pokeheartgold.git
synced 2024-11-30 08:30:54 +00:00
revert build.yml, webhook.sh
This commit is contained in:
parent
5fe6d0190b
commit
28cf07be70
4
.github/calcrom/webhook.sh
vendored
4
.github/calcrom/webhook.sh
vendored
@ -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
|
||||
|
||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -2,7 +2,7 @@ name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user