Updated publish.sh

This commit is contained in:
Oliver Davies 2015-12-20 23:52:16 +00:00
parent 46e7abb040
commit f0a7402dc1

View file

@ -1,6 +1,6 @@
#!/bin/bash
./vendor/bin/sculpin generate --env=prod --clean --no-interaction
./vendor/bin/sculpin generate --env=prod
if [ $? -ne 0 ]; then echo "Could not generate the site"; exit 1; fi
rsync -av --delete output_prod/ deployment@www.oliverdavies.uk:/var/www/vhosts/oliverdavies/public