Skip to content

Instantly share code, notes, and snippets.

@nysalor
Created March 8, 2012 09:35
Show Gist options
  • Save nysalor/1999940 to your computer and use it in GitHub Desktop.
Save nysalor/1999940 to your computer and use it in GitHub Desktop.
capistrano multistage deploy_to
set :rails_env, 'staging'
set :branch, 'trunk'
set :deploy_to, "/var/www/#{application}-#{rails_env}"
role :web, "staging-server"
role :app, "staging-server"
role :db, "staging-server", :primary => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment