set NODE_ENV in deploy.sh and remove it from travis configuration so that travis will still install development deps

This commit is contained in:
Riku Rouvila
2015-11-25 20:36:35 +02:00
parent 3beb733d4a
commit 4e7e6d4126

View File

@@ -6,7 +6,7 @@ rm -rf public || exit 0;
mkdir public;
# run our compile script, discussed above
npm run build
NODE_ENV=production npm run build
# go to the public directory and create a *new* Git repo
cd public