在Capistriano的deploy.rb中,我有以下内容:
set :branch, "2.3.5"
但是Capistriano坚持要结账部署。任何想法为什么和/或如何解决它?我正在使用git作为SCM:
set :application, "Example"
set :repository, "git@github.com:example/example.git"
set :scm, :git
set :deploy_to, "/var/www/example.com/"
set :branch, "2.3.5"
set :scm_verbose, true
ssh_options[:forward_agent] = true
set :use_sudo, false
set :user, "www-data"