Hi Scott,

Scott escribió:
> set :repository, "/var/www/v3/git-#{application}"
> if ENV['DEPLOY'] == 'PRODUCTION'
>    puts "*** Deploying to the \033[1;41m  PRODUCTION  \033[0m
> servers!"
>    set :branch, "origin/production"
> else
>    puts "*** Deploying to the \033[1;42m  STAGING  \033[0m server!"
>    set :branch, "origin/staging"
> end
>
> in my deploy.rb  .
>   
For this kind of things(multistage) Jamis Buck wrote a component in 
capistrano-ext.
More info in this link:
http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage

Regards

-- 
Rafael Garcia Ortega


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn;quoted-printable:Rafael Garc=C3=ADa Ortega
n;quoted-printable:Garc=C3=ADa Ortega;Rafael
org:ASPgems S.L.
email;internet:[EMAIL PROTECTED]
tel;work:692686533
x-mozilla-html:FALSE
url:http://www.aspgems.com
version:2.1
end:vcard

Reply via email to