From 35780a37f6c118b2ee7df0c94b58a45b0079db7e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 28 Jan 2016 09:20:33 +0000 Subject: [PATCH] Removed scripts --- scripts/publish.sh | 18 ------------------ scripts/watch.sh | 3 --- 2 files changed, 21 deletions(-) delete mode 100755 scripts/publish.sh delete mode 100755 scripts/watch.sh diff --git a/scripts/publish.sh b/scripts/publish.sh deleted file mode 100755 index 48ef0942..00000000 --- a/scripts/publish.sh +++ /dev/null @@ -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 diff --git a/scripts/watch.sh b/scripts/watch.sh deleted file mode 100755 index 01bb48ff..00000000 --- a/scripts/watch.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./vendor/bin/sculpin generate --server --watch --clean --no-interaction