From 1af3727fefa43b814f99161bddcc6ee2a000be6c Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Sun, 7 May 2017 18:54:18 +0800 Subject: Remove npm install in heroku build since heroku detects yarn.lock automatically --- bin/heroku | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/heroku b/bin/heroku index 1228b283..24727347 100755 --- a/bin/heroku +++ b/bin/heroku @@ -3,8 +3,6 @@ set -e if [ "$BUILD_ASSETS" = true ]; then - BUILD_ASSETS=false npm install - # setup config files cat << EOF > .sequelizerc var path = require('path'); -- cgit v1.2.3 From be7335e92a0696e9c5e4cad3c98465869a64b27e Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Sun, 7 May 2017 19:07:03 +0800 Subject: Remove postdeploy migration --- app.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.json b/app.json index 0ed11d76..e09d4c0e 100644 --- a/app.json +++ b/app.json @@ -10,9 +10,6 @@ "repository": "https://github.com/hackmdio/hackmd", "logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png", "success_url": "/", - "scripts": { - "postdeploy": "./node_modules/.bin/sequelize db:migrate" - }, "env": { "BUILD_ASSETS": { "description": "Our build script variable", -- cgit v1.2.3