Just create tasks that override the deploy_to, repository, and application task :app1 do set :application, "app1" set :repository, "[email protected]:vanpelt/rails-app.git" set :deploy_to, "/var/www/app1" end
task :app2 do set :application, "app2" set :repository, "[email protected]:vanpelt/rails-app2.git" set :deploy_to, "/var/www/app2" end cap app1 deploy cap app2 deploy cap app1 deploy app2 deploy Should all work as expected. On Nov 4, 2011, at 11:45 AM, Craig White <[email protected]> wrote: > We mostly use capistrano but for one particular project, we use a hacked > version of vlad > > The problem is that there are 2 subversion URL's/codebases... > > - one for the ruby code > > - one for the language translation files > > and they may be deployed simulataneously or separately, as is more often the > case. > > The recent questions and answers suggest that more sophistication is possible > (like the reference to 'recipes/deploy.rb') but it's far from clear to me how > I might accomplish having 2 different :repository URL's in the same deploy.rb > file > > Secondly... perhaps I am deficient but all I seem to be able to find for > documentation is the 'Handbook' and the GitHub guide and they are pretty > spartan... is there more complete documentation for Capistrano somewhere that > I am missing? > > -- > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [email protected] > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com > > Need help communicating between generations at work to achieve your desired > success? Let us help! > > -- > * 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
