mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
799bb6979e
commit
36b397796d
1 changed files with 2 additions and 7 deletions
9
app.json
9
app.json
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue