From 0b180e02a49afba4fc2923a2ea99cbf7f86cb5a5 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 8 Nov 2020 07:09:08 -0800 Subject: [PATCH] Debugging deployment from CI --- deploy-production.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-production.sh b/deploy-production.sh index b7fc712..61ac7a3 100755 --- a/deploy-production.sh +++ b/deploy-production.sh @@ -5,7 +5,7 @@ # This if statement will only deploy on Jenkins when its testing the master branch. echo "-->$GIT_BRANCH<--" -if [[ $GIT_BRANCH == *"master"* ]] +if [[ $GIT_BRANCH =~ "master" ]] then echo "Deploying to production...."