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