Merge pull request #450 from hackmdio/heroku-recovery
Fix heroku deployment
This commit is contained in:
commit
5343a61ae9
2 changed files with 0 additions and 5 deletions
3
app.json
3
app.json
|
@ -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",
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue