Last active
December 26, 2015 23:59
-
-
Save viccherubini/7234217 to your computer and use it in GitHub Desktop.
Advanced Web Applications Using Symfony Capistrano deploy.rb configuration script.
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
# Deployment remotes | |
set :stages, %w(production staging) | |
set :default_stage, 'staging' | |
require 'capistrano/ext/multistage' | |
# Repo options | |
set :application, 'MajorAuth' | |
set :repository, '[email protected]:brightmarch/major-auth.git' | |
set :scm, :git | |
# Github options | |
default_run_options[:pty] = true | |
ssh_options[:forward_agent] = true | |
# Deployment options | |
set :branch, ENV['BRANCH'] || 'master' | |
set :use_sudo, false | |
set :user, 'deploy' | |
set :keep_releases, 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment