You asked the question: How to trigger tasks after deploy:update when running migrations
Which implied to me that you ONLY want to run the extra task when you do a deploy:migrations; and NOT when you do a plain deploy. If you want to do it on any kind of deploy then all you need is: > after "deploy:update_code", "the:other:thing" On Jun 20, 2012, at 9:39 AM, Nick Hoffman <[email protected]> wrote: > Interesting. Thanks for the speedy reply. The "deploy:migrations" task > triggers the "deploy:update_code" task, so shouldn't this extra config not be > necessary? > > > On Wednesday, 20 June 2012 11:24:54 UTC-4, dbray wrote: > on :start, :only => "deploy:migrations" do > after "deploy:update_code", "the:other:thing" > end > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
