Remove deleted remote files
This commit is contained in:
parent
e441c26429
commit
11429e4bc3
|
@ -3,5 +3,5 @@
|
||||||
./vendor/bin/sculpin generate --env=prod --clean --no-interaction
|
./vendor/bin/sculpin generate --env=prod --clean --no-interaction
|
||||||
if [ $? -ne 0 ]; then echo "Could not generate the site"; exit 1; fi
|
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
|
if [ $? -ne 0 ]; then echo "Could not publish the site"; exit 1; fi
|
||||||
|
|
Loading…
Reference in a new issue