Remove deleted remote files

This commit is contained in:
Oliver Davies 2015-12-07 23:06:08 +00:00
parent e441c26429
commit 11429e4bc3

View file

@ -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