Skip to content

Instantly share code, notes, and snippets.

@alChaCC
Created March 27, 2014 02:56
Show Gist options
  • Save alChaCC/9799161 to your computer and use it in GitHub Desktop.
Save alChaCC/9799161 to your computer and use it in GitHub Desktop.
config/deploy/staging.rb
set :branch, 'develop'
set :user, 'stage_deployer'
set :domain, 'staging.your.domain'
set :rails_env, "staging"
set :deploy_to, "/home/#{fetch(:user)}/urbox"
set :sidekiq_pid, File.join("#{shared_path}", 'pids', 'sidekiq.pid')
set :stage, :staging
server "#{fetch(:domain)}", user: "#{fetch(:user)}", roles: %w{web app db asset_syncer sidekiqer}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment