diff --git a/deploy-production.sh b/deploy-production.sh index d9ab197..bd41466 100755 --- a/deploy-production.sh +++ b/deploy-production.sh @@ -4,7 +4,7 @@ #echo $DEPLOY_SECRET # This if statement will only deploy on Jenkins when its testing the master branch. -if [ $GIT_BRANCH == master ] +if [ $GIT_BRANCH == 'origin/master' ] then echo "Deploying to production...."