Skip to content

Commit

Permalink
fix deploy.sh: don't delete local.ini config
Browse files Browse the repository at this point in the history
  • Loading branch information
David Neudorfer committed Jan 26, 2017
1 parent 00d1c9b commit 2d221a5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ else
fi

# rsync files to server and respective environment path
rsync -arvz --delete --progress . \
--exclude='.git/' \
-e "ssh -o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
-i mozart_rsa" \
rsync -arvz --delete \
--exclude local.ini \
--exclude='.git/' \
--progress . \
-e "ssh -o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
-i mozart_rsa" \
$DEPLOY_USER@$HOST:$BASE_DIR-$ENV

# find the live environment
Expand Down

0 comments on commit 2d221a5

Please sign in to comment.