Removed scripts

This commit is contained in:
Oliver Davies 2016-01-28 09:20:33 +00:00
parent d161c997a7
commit 35780a37f6
2 changed files with 0 additions and 21 deletions

View file

@ -1,18 +0,0 @@
#!/bin/bash
export ENV=prod
export DEPLOY_USER=deployment
export DEPLOY_HOST=www.oliverdavies.uk
export DEPLOY_PATH=/var/www/oliverdavies/public
# Rebuild assets.
gulp build --production
./vendor/bin/sculpin generate --env=${ENV} --clean --no-interaction
if [ $? -ne 0 ]; then echo "Could not generate the site"; exit 1; fi
# Minify HTML.
gulp minify-prod-html
rsync -av --delete output_${ENV}/ ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}
if [ $? -ne 0 ]; then echo "Could not publish the site"; exit 1; fi

View file

@ -1,3 +0,0 @@
#!/bin/bash
./vendor/bin/sculpin generate --server --watch --clean --no-interaction