Run gulp when publishing

This commit is contained in:
Oliver Davies 2017-07-14 23:16:24 +01:00
parent 949247fd48
commit 8e950d9a0f

View file

@ -2,6 +2,9 @@
SITE_ENV="prod" SITE_ENV="prod"
# Build front-end assets.
node_modules/.bin/gulp --production
# Remove the existing docs directory, build the site and create the new # Remove the existing docs directory, build the site and create the new
# docs directory. # docs directory.
rm -rf ./docs rm -rf ./docs