summaryrefslogtreecommitdiff
path: root/bin/heroku
diff options
context:
space:
mode:
authorClaudius2019-03-31 01:29:34 +0100
committerClaudius2019-03-31 01:29:34 +0100
commit5c607c4f80e2c00699dcd74404b8652e0dfbbe94 (patch)
tree9ba0a3de08cde17830b23f2cbe32266d74e3ed25 /bin/heroku
parent4ffeab6129778ae539934dabbb3825de92199251 (diff)
cleanup of the heroku configuration
this removes the general `postinstall` call to `bin/heroku` and instead puts it into a heroku-prebuild hook. At the same time, env vars get updated to use the `CMD` prefix. The configured buildpacks were not used. Finally, npm run build is now automatically done by Heroku. Signed-off-by: Claudius <opensource@amenthes.de>
Diffstat (limited to '')
-rwxr-xr-xbin/heroku10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/heroku b/bin/heroku
index 24727347..c9642c20 100755
--- a/bin/heroku
+++ b/bin/heroku
@@ -2,9 +2,7 @@
set -e
-if [ "$BUILD_ASSETS" = true ]; then
- # setup config files
- cat << EOF > .sequelizerc
+cat << EOF > .sequelizerc
var path = require('path');
module.exports = {
@@ -17,7 +15,7 @@ module.exports = {
EOF
- cat << EOF > config.json
+cat << EOF > config.json
{
"production": {
@@ -25,7 +23,3 @@ EOF
}
EOF
-
- # build app
- npm run build
-fi