Inherited apps need other deploy steps than master

We need to setup DATABASE_URL before deploying and populate the database after. Also there is no need for the heroku ruby buildpack twice...
This commit is contained in:
Henne Vogelsang 2016-05-25 15:15:54 +02:00
parent 799bb6979e
commit 36b397796d

View file

@ -5,9 +5,7 @@
"CLOUDINARY_URL": {
"required": true
},
"DEPLOY_TASKS": {
"required": true
},
"DEPLOY_TASKS": "db:cleardb_env",
"LANG": {
"required": true
},
@ -55,7 +53,7 @@
}
},
"scripts": {
"postdeploy": "bundle exec rake db:cleardb_env"
"postdeploy": "bundle exec rake db:reset data:demo"
},
"formation": {
"web": {
@ -73,9 +71,6 @@
{
"url": "heroku/ruby"
},
{
"url": "https://github.com/heroku/heroku-buildpack-ruby"
},
{
"url": "https://github.com/gunpowderlabs/buildpack-ruby-rake-deploy-tasks"
}