Rory, Actually there's a couple of ways to do this, can you paste a code sample, so I can help you, and confirm whether you're using home-grown multistage or the capistrano-ext gem?
-- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 2009/8/21 Rory McKinley <[email protected]> > > Hi All > > I have a deploy namespace that has two tasks that deploy from different > repositories to different release paths and they use different roles. > > The two tasks being called as follows: > > cap development deploy:kon > cap development deploy:api > > I would like to combine these two subtasks in a third task (so I rn them > both with a single call), while still retaining the ability to call them > individually. So, I create a task that looks roughly like this: > > task :default do > api > kon > end > > The problem is that when kon runs it uses the current_path and > repository defined by api - is there anyway to reset these two variables > to the kon-specific values at the start of the kon tasks? > > Regards > > Rory > > > > --~--~---------~--~----~------------~-------~--~----~ 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.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
