Skip to content

Commit

Permalink
Add 'nodejs' buildback (Ref: rails/webpacker#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishaltelangre committed Nov 30, 2017
1 parent c0698cc commit 9a76758
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "elmsanity",
"description": "",
"scripts": {
"postdeploy": "cp config/database.yml.postgresql config/database.yml; bundle exec rails db:create; bundle exec rails db:migrate; NODE_ENV=production bundle exec rails webpacker:compile"
"postdeploy": "cp config/database.yml.postgresql config/database.yml; bin/rails db:create; bin/rails db:migrate; NODE_ENV=production bin/rails webpacker:compile"
},
"env": {
"SECRET_KEY_BASE": {
Expand All @@ -19,6 +19,7 @@

],
"buildpacks": [

{ "url": "heroku/nodejs" },
{ "url": "heroku/ruby" }
]
}

0 comments on commit 9a76758

Please sign in to comment.