Last active
August 29, 2015 14:01
-
-
Save thotmx/19413b1d755a0b452226 to your computer and use it in GitHub Desktop.
config/deploy/staging.rb
This file contains 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, :staging | |
set :rails_env, 'production' | |
set :deploy_to, "/home/deployerdemo/apps/#{fetch(:application)}" | |
role :app, %w{[email protected]} | |
role :web, %w{[email protected]} | |
role :db, %w{[email protected]} | |
server '162.243.105.100', user: 'deployerdemo', roles: %w{web app db} | |
set :branch, ENV["REVISION"] || ENV["BRANCH_NAME"] || "master" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment