summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2017-05-07 20:14:05 +0800
committerGitHub2017-05-07 20:14:05 +0800
commit5343a61ae996ec5af1cf8b61425094bc18b29d39 (patch)
tree49a008657ffc7da21d879fd719b0e0c617353997
parente32dd547b4f4fcc581425aaf594dc859d81aa830 (diff)
parentbe7335e92a0696e9c5e4cad3c98465869a64b27e (diff)
Merge pull request #450 from hackmdio/heroku-recovery
Fix heroku deployment
Diffstat (limited to '')
-rw-r--r--app.json3
-rwxr-xr-xbin/heroku2
2 files changed, 0 insertions, 5 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",
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');