diff --git a/bin/deploy b/bin/deploy index 5720abe282231ae07b7990405582568cd11e8252..3650d866ade2ad968fa3e9e43a9ecda4605ab39a 100755 --- a/bin/deploy +++ b/bin/deploy @@ -1,9 +1,11 @@ #!/bin/sh +set -e # Abort on failure + git push ssh debian@hickory.sfconservancy.org 'bash -s' << EOF set -x # Show output -set -e # Abort on failure +set -e cd /var/www/website sudo -u www-data git pull export DJANGO_SETTINGS_MODULE=conservancy.settings.prod