diff options
author | Claudius | 2019-03-31 01:29:34 +0100 |
---|---|---|
committer | Claudius | 2019-03-31 01:29:34 +0100 |
commit | 5c607c4f80e2c00699dcd74404b8652e0dfbbe94 (patch) | |
tree | 9ba0a3de08cde17830b23f2cbe32266d74e3ed25 /bin/heroku | |
parent | 4ffeab6129778ae539934dabbb3825de92199251 (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-x | bin/heroku | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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 |