Skip to content

Commit

Permalink
hack: resolve issue where env folder is created and added to docker i…
Browse files Browse the repository at this point in the history
…mage
  • Loading branch information
David Neudorfer committed Jan 26, 2017
1 parent 697ad9b commit 64ac57a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ rsync -arvz --delete \
-i mozart_rsa" \
$DEPLOY_USER@$HOST:$BASE_DIR-$ENV

# this is a temp fix to resolve issues with production
rm -rf ./env
ssh $DEPLOY_USER@$HOST $SSH_OPTS \
"sudo su -c 'rm -rf $BASE_DIR-$ENV/env'"

# find the live environment
LIVE_COLOR=$(ssh $SSH_OPTS $DEPLOY_USER@$HOST \
"sudo su -c 'cd $BASE_DIR-$ENV && docker-compose \
Expand Down

0 comments on commit 64ac57a

Please sign in to comment.