From 3f834510207c78716a24cd1d558219a7bd389932 Mon Sep 17 00:00:00 2001 From: tritoch Date: Wed, 21 Jun 2017 09:25:04 -0500 Subject: [PATCH] Don't deploy non-master branches to Files branch --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 6bebf0c2..5b68505c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -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