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 df822a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 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,6 @@

],
"buildpacks": [

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

0 comments on commit df822a5

Please sign in to comment.