mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Debug PR vs Push Travis
This commit is contained in:
parent
b00b8bc154
commit
1aa29e4a4f
16
deploy.sh
16
deploy.sh
|
|
@ -6,10 +6,6 @@ TARGET_BRANCH="files"
|
|||
|
||||
function doCompile {
|
||||
python main.py
|
||||
# Push merge or push to our files repo, not pulls.
|
||||
if [ "${ghToken:-false}" != "false" ]; then
|
||||
pushBranch
|
||||
fi
|
||||
}
|
||||
|
||||
function pushBranch {
|
||||
|
|
@ -67,4 +63,14 @@ cd ..
|
|||
rm -rf out/**/* || exit 0
|
||||
|
||||
# Run our compile script
|
||||
doCompile
|
||||
#doCompile
|
||||
|
||||
# Push merge or push to our files repo, not pulls.
|
||||
if [ "${ghToken:-false}" != "false" ]; then
|
||||
echo This is a Push
|
||||
doCompile
|
||||
pushBranch
|
||||
else
|
||||
echo This is a PR
|
||||
doCompile
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user