Updated publish.sh
This commit is contained in:
parent
46e7abb040
commit
f0a7402dc1
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
rsync -av --delete output_prod/ deployment@www.oliverdavies.uk:/var/www/vhosts/oliverdavies/public
|
||||||
|
|
Reference in a new issue