Created
July 11, 2015 18:43
-
-
Save epintos/605581604279ef82055d to your computer and use it in GitHub Desktop.
Ruby on Rails deploy with Capistrano 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :stage, :production | |
role :app, %w(user@url) | |
role :web, %w(user@url) | |
role :db, %w(user@url) | |
set :bundle_binstubs, -> { shared_path.join('bin') } | |
set :ssh_options, keys: %w(~/.ssh/your-project-production.pem), forward_agent: true | |
set :nginx_server_name, 'url' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment