Skip to content

Commit

Permalink
adding ability to deploy testingDeploy branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Megan Martinson committed Jun 9, 2017
1 parent 88931ec commit 4efa54e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# $DOCKER_NAMESPACE_DEV - the image name for development deployments [Default]: reactioncommerce/prequel


if [[ "$CIRCLE_BRANCH" != "master" && "$CIRCLE_BRANCH" != "development" ]]; then
if [[ "$CIRCLE_BRANCH" != "master" && "$CIRCLE_BRANCH" != "development" && "$CIRCLE_BRANCH" != "testingDeploy"]]; then
echo "Not running a deployment branch."
exit 0
fi
Expand All @@ -39,7 +39,7 @@ fi


# Master branch deployment (only runs when a version git tag exists - syntax: "v1.2.3")
if [[ "$CIRCLE_BRANCH" == "master" ]]; then
if [[ "$CIRCLE_BRANCH" == "master" || "$CIRCLE_BRANCH" == "testingDeploy" ]]; then
VERSION=$(git describe --tags | grep "/ee-v[0-9]+(\.[0-9]+)*/")

if [[ "$VERSION" ]]; then
Expand Down

0 comments on commit 4efa54e

Please sign in to comment.