Skip to content

Commit

Permalink
Moving deploy branches configs to ENV vars
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrei committed Jan 7, 2018
1 parent 63fc44c commit f7b1bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:

- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "development" ]; then
if [ "${CIRCLE_BRANCH}" == "${STAGING_DEPLOY_BRANCH}" ]; then
./deploy/deploy.sh staging
elif [ "${CIRCLE_BRANCH}" == "master" ]; then
elif [ "${CIRCLE_BRANCH}" == "${PRODUCTION_DEPLOY_BRANCH}" ]; then
./deploy/deploy.sh production
fi

0 comments on commit f7b1bb0

Please sign in to comment.