Don't generate sourcemaps on production.

This commit is contained in:
Oliver Davies 2016-01-06 05:24:00 +00:00
parent 3e30949826
commit 7b366aff58
3 changed files with 9 additions and 3 deletions

View file

@ -5,6 +5,9 @@ DEPLOY_USER=deployment
DEPLOY_HOST=www.oliverdavies.uk
DEPLOY_PATH=/var/www/oliverdavies/public
# Rebuild stylesheets.
gulp styles --production
./vendor/bin/sculpin generate --env=${ENV} --clean --no-interaction
if [ $? -ne 0 ]; then echo "Could not generate the site"; exit 1; fi