Pat Maddox
2007-Mar-16 20:12 UTC
Capistrano: after_deploy doesn''t run if I deploy_with_migrations
I''ve got an after_deploy task in my cap script. If I cap deploy, the task executes. If I do cap deploy_with_migrations, it doesn''t. Do I have to define the deploy_with_migrations task to include this after_deploy task? Pat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jon Garvin
2007-Mar-16 20:52 UTC
Re: Capistrano: after_deploy doesn''t run if I deploy_with_migrations
You might try the capistrano mailing list. Due to the heavy traffic here, the people who know a lot about capistrano might not see your post here. http://groups.google.com/group/capistrano Pat Maddox wrote:> I''ve got an after_deploy task in my cap script. If I cap deploy, the > task executes. If I do cap deploy_with_migrations, it doesn''t. Do I > have to define the deploy_with_migrations task to include this > after_deploy task? > > Pat > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ezra Zygmuntowicz
2007-Mar-17 00:13 UTC
Re: Capistrano: after_deploy doesn''t run if I deploy_with_migrations
Pat- On Mar 16, 2007, at 1:12 PM, Pat Maddox wrote:> > I''ve got an after_deploy task in my cap script. If I cap deploy, the > task executes. If I do cap deploy_with_migrations, it doesn''t. Do I > have to define the deploy_with_migrations task to include this > after_deploy task? > > PatDoes the task you have really need to run after deploy? You could use after_restart and it will work in basically the exact same way but it will apply to either deploy or deploy_with_migrations Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- ez-NLltGlunAUd/unjJdyJNww@public.gmane.org -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2007-Mar-17 02:35 UTC
Re: Capistrano: after_deploy doesn''t run if I deploy_with_migrations
On 3/16/07, Ezra Zygmuntowicz <ezmobius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Pat- > > On Mar 16, 2007, at 1:12 PM, Pat Maddox wrote: > > > > > I''ve got an after_deploy task in my cap script. If I cap deploy, the > > task executes. If I do cap deploy_with_migrations, it doesn''t. Do I > > have to define the deploy_with_migrations task to include this > > after_deploy task? > > > > Pat > > > > Does the task you have really need to run after deploy? You could > use after_restart and it will work in basically the exact same way > but it will apply to either deploy or deploy_with_migrationsYeah that''s what I decided to do. Partly I was just curious why it acted differently with deploy_with_migrations. Pat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---