deploying a branch

16 views
Skip to first unread message

Benjamin Moses Lieb

unread,
May 21, 2012, 8:57:49 PM5/21/12
to capis...@googlegroups.com

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)

Donovan Bray

unread,
May 22, 2012, 11:48:48 AM5/22/12
to capis...@googlegroups.com
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 <r...@pixelearth.net> 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 capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
Reply all
Reply to author
Forward
0 new messages