From daf004a9759e975a3e86a0ca9b6bcbe12059bc15 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 18 Mar 2018 15:40:44 +0100 Subject: [PATCH] Update worker.sh --- code/worker.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index e8a59df0..949d8860 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -431,10 +431,10 @@ Add automatically parsed data ($TRAVIS_BUILD_NUMBER) EOF set +x git remote add deploy https://${GITHUB_TOKEN}@github.com/$TRAVIS_REPO_SLUG.git > /dev/null 2>&1 -if [ x"$TRAVIS_PULL_REQUEST" == x"false" ] ; then +# wrong logic? # if [ x"$TRAVIS_PULL_REQUEST" == x"false" ] ; then set -x git push --set-upstream deploy set +x -else - echo "Not runing 'git push --set-upstream deploy' because this build does NOT have TRAVIS_PULL_REQUEST=false" -fi +# wrong logic? # else +# wrong logic? # echo "Not runing 'git push --set-upstream deploy' because this build does NOT have TRAVIS_PULL_REQUEST=false" +# wrong logic? # fi