BRANCH=testing cap deploy Then in your deploy.rb somewhere
set :branch, ENV['BRANCH'] || 'master' Change 'master' to be whatever branch you want to use when you don't specify anything. On May 21, 2012, at 5:57 PM, Benjamin Moses Lieb <[email protected]> wrote: > I've read that with -s I can deploy a specific branch. I tried this and it > failed. The branch is only on my local dev machine. Does it also have to be > on the remote server? > > (This post is not cross-posted anywhere) > > -- > * 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
