Take a look at multistage, you should define a stage for each instance,
then you make `cap stage{1..5} deploy`. Typically multistage is used to
deploy staging vs. production vs. qa, etc - but it'll suit your purposes
here I think.Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 5 February 2013 13:11, <[email protected]> wrote: > I need to deploy a git repository 5 times (to five different directories) > on the same server. How do I do this using Capistrano? > > -- > -- > * 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.
