mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-23 18:05:12 -05:00
Don't deploy non-master branches to Files branch
This commit is contained in:
@@ -9,7 +9,7 @@ function doCompile {
|
||||
}
|
||||
|
||||
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then
|
||||
echo "Skipping deploy; just doing a build."
|
||||
doCompile
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user