Figure out an elegant way to run tasks, like migrations
ejholmes opened this issue · 2 comments
ejholmes commented
Just food for thought. When I deploy, sometimes I wanna run migrations, and I don't really want to have to know what command I need to type do it.
atmos commented
The task attribute is supposed to handle this type of thing deploy:restart
or deploy:migrate
. In general I've been separating migrations out from code changes more and more. Is there anything other than migrations that are common for you?
atmos commented
It might be kind of cool to use the task in conjunction with rake -T
and just append all of the tasks with deploy:
.