task :production do role :web, 'example.com' end task :staging do role :web, 'whatever.com' end
$ cap production deploy # Vs. $ cap staging deploy As you can see, they're just tasks that set variables, so they're not special tasks that can modify the `environment` of the running process, rather simply magic tasks (and the multistage gem comes with extra protection against forgetting a few things) - but that's it in a nutshell. -- Lee Hambley Twitter: @leehambley | @capistranorb -- * 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
