Don't generate sourcemaps on production.
This commit is contained in:
parent
3e30949826
commit
7b366aff58
3 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue