Merge pull request #450 from hackmdio/heroku-recovery

Fix heroku deployment
This commit is contained in:
Max Wu 2017-05-07 20:14:05 +08:00 committed by GitHub
commit 5343a61ae9
2 changed files with 0 additions and 5 deletions

View file

@ -10,9 +10,6 @@
"repository": "https://github.com/hackmdio/hackmd", "repository": "https://github.com/hackmdio/hackmd",
"logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png", "logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png",
"success_url": "/", "success_url": "/",
"scripts": {
"postdeploy": "./node_modules/.bin/sequelize db:migrate"
},
"env": { "env": {
"BUILD_ASSETS": { "BUILD_ASSETS": {
"description": "Our build script variable", "description": "Our build script variable",

View file

@ -3,8 +3,6 @@
set -e set -e
if [ "$BUILD_ASSETS" = true ]; then if [ "$BUILD_ASSETS" = true ]; then
BUILD_ASSETS=false npm install
# setup config files # setup config files
cat << EOF > .sequelizerc cat << EOF > .sequelizerc
var path = require('path'); var path = require('path');