Merge pull request #1259 from hackmdio/bugfix/heroku-deployment

Remove BUILD_ASSETS environment variable
This commit is contained in:
Max Wu 2019-09-08 00:49:37 +08:00 committed by GitHub
commit dc29b2e284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -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"

View File

@ -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');