From 2d221a5a14db8dca093cdeb12df0944fcd7b25b5 Mon Sep 17 00:00:00 2001 From: David Neudorfer Date: Wed, 25 Jan 2017 22:57:07 -0800 Subject: [PATCH] fix deploy.sh: don't delete local.ini config --- scripts/deploy.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 226a5e54..8f3b2a4d 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -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