Capistrano deploy to different path on same server
问题 I am trying to deploy my application using capistrano. But I want to deploy my application to multiple paths of the same server.For example If for the first run I want to deploy it to below path set :deploy_to, '/home/a/some_path/ Once completed the first one it should run for the second path that will be set :deploy_to, '/home/b/some_path/ and so on. Any suggestions how can I achieve this? Right now my single path deployment path is working AOK. 回答1: In your config file: set :deploy_to, ENV[