Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 64ac57a

Browse files
author
David Neudorfer
committed
hack: resolve issue where env folder is created and added to docker image
1 parent 697ad9b commit 64ac57a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ rsync -arvz --delete \
3737
-i mozart_rsa" \
3838
$DEPLOY_USER@$HOST:$BASE_DIR-$ENV
3939

40+
# this is a temp fix to resolve issues with production
41+
rm -rf ./env
42+
ssh $DEPLOY_USER@$HOST $SSH_OPTS \
43+
"sudo su -c 'rm -rf $BASE_DIR-$ENV/env'"
44+
4045
# find the live environment
4146
LIVE_COLOR=$(ssh $SSH_OPTS $DEPLOY_USER@$HOST \
4247
"sudo su -c 'cd $BASE_DIR-$ENV && docker-compose \

0 commit comments

Comments
 (0)