automatically run db:migrate in postdeploy
This commit is contained in:
parent
3f2928e737
commit
117239ee87
1 changed files with 6 additions and 1 deletions
7
app.json
7
app.json
|
|
@ -8,5 +8,10 @@
|
||||||
"command": "rake debshots:update_longdescription_from_deb_repos",
|
"command": "rake debshots:update_longdescription_from_deb_repos",
|
||||||
"schedule": "35 7 * * *"
|
"schedule": "35 7 * * *"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"scripts": {
|
||||||
|
"dokku": {
|
||||||
|
"postdeploy": "rake db:migrate"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue