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