slashdeploy icon indicating copy to clipboard operation
slashdeploy copied to clipboard

Figure out an elegant way to run tasks, like migrations

Open ejholmes opened this issue 9 years ago • 2 comments

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.

ejholmes avatar Feb 11 '16 06:02 ejholmes

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 avatar Feb 11 '16 07:02 atmos

It might be kind of cool to use the task in conjunction with rake -T and just append all of the tasks with deploy:.

atmos avatar Feb 11 '16 07:02 atmos