mirror of https://github.com/status-im/codimd.git
Merge pull request #1259 from hackmdio/bugfix/heroku-deployment
Remove BUILD_ASSETS environment variable
This commit is contained in:
commit
dc29b2e284
4
app.json
4
app.json
|
@ -11,10 +11,6 @@
|
|||
"logo": "https://github.com/hackmdio/codimd/raw/master/public/codimd-icon-1024.png",
|
||||
"success_url": "/",
|
||||
"env": {
|
||||
"BUILD_ASSETS": {
|
||||
"description": "Our build script variable",
|
||||
"value": "true"
|
||||
},
|
||||
"NPM_CONFIG_PRODUCTION": {
|
||||
"description": "Let npm also install development build tool",
|
||||
"value": "false"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ "$BUILD_ASSETS" = true ]; then
|
||||
if [ ! -z "$DYNO" ]; then
|
||||
# setup config files
|
||||
cat << EOF > .sequelizerc
|
||||
var path = require('path');
|
||||
|
|
Loading…
Reference in New Issue