Deploying a Subversion branch with Capistrano
Wednesday, January 30th, 2008Capistrano is a tool for automating tasks via SSH on remote servers. It has many uses, I (and many others) use it to deploy their (rails) applications. The best I can tell there is no built in way to deploy a branch from your source code control system. There are a couple ways of accomplishing this. I chose passing in the branch as a parameter to the Capistrano command:
cap --set-before branch=testbranch deploy