From 11429e4bc3212a1696afec57482f394c4879d03c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 7 Dec 2015 23:06:08 +0000 Subject: [PATCH] Remove deleted remote files --- publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.sh b/publish.sh index dd552a9f..2ce9c714 100755 --- a/publish.sh +++ b/publish.sh @@ -3,5 +3,5 @@ ./vendor/bin/sculpin generate --env=prod --clean --no-interaction if [ $? -ne 0 ]; then echo "Could not generate the site"; exit 1; fi -rsync -av output_prod/ deployment@www.oliverdavies.uk:/var/www/vhosts/oliverdavies/public +rsync -av --delete output_prod/ deployment@www.oliverdavies.uk:/var/www/vhosts/oliverdavies/public if [ $? -ne 0 ]; then echo "Could not publish the site"; exit 1; fi