What I do is create my call chains based on a top level task like deploy or deploy:migrations
on :start, :only => :deploy do after "deploy:update_code", :bar before :bar, :foo end task :bar do logger.info "bar" end task :foo do logger.info "foo" end You can call foo and bar independently outside of a deploy. But during a deploy they will run in the correct order. On Apr 26, 2013, at 4:52 AM, henrique matias <[email protected]> wrote: > Hello Folks, > > On my deploy.rb i have a few tasks which are chained to others, but some > times i would like to execute them without triggering the chained ones... > > Am trying to find a "magic parameter" on docs, but perhaps am not the beset > doc explorer ( : > > peace > -- > -- > * 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- * 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
