Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Figure out an elegant way to run tasks, like migrations #34

Open
ejholmes opened this issue Feb 11, 2016 · 2 comments
Open

Figure out an elegant way to run tasks, like migrations #34

ejholmes opened this issue Feb 11, 2016 · 2 comments

Comments

@ejholmes
Copy link
Contributor

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 ejholmes changed the title Figure out and elegant way to run tasks, like migrations Figure out an elegant way to run tasks, like migrations Feb 11, 2016
@atmos
Copy link

atmos commented Feb 11, 2016

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
Copy link

atmos commented Feb 11, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants