Skip to content

Commit

Permalink
fixes deploy.sh: updates regex to find live server
Browse files Browse the repository at this point in the history
  • Loading branch information
David Neudorfer committed Jan 26, 2017
1 parent 2d221a5 commit 4c22a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ LIVE_COLOR=$(ssh $SSH_OPTS $DEPLOY_USER@$HOST \
"sudo su -c 'cd $BASE_DIR-$ENV && docker-compose \
-f docker-compose.yml \
-f docker-compose.$ENV.yml \
ps'" | awk '/app.*Up/ {print $1}')
ps'" | awk '/.*app.*Up*/ {print $1}')

# set values for live color and deploy color
if [[ $LIVE_COLOR == *"blue"* ]]; then
Expand Down

0 comments on commit 4c22a24

Please sign in to comment.