|
|
@ -2,15 +2,12 @@ require 'bundler/capistrano' |
|
|
|
|
|
|
|
|
|
|
|
default_run_options[:pty] = true |
|
|
|
default_run_options[:pty] = true |
|
|
|
set :application, 'entrydns' |
|
|
|
set :application, 'entrydns' |
|
|
|
|
|
|
|
set :domain, 'staging.entrydns.net' |
|
|
|
|
|
|
|
|
|
|
|
task :production do |
|
|
|
task :production do |
|
|
|
set :domain, 'n0.entrydns.net' |
|
|
|
set :domain, 'n0.entrydns.net' |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
task :staging do |
|
|
|
|
|
|
|
set :domain, 'staging.entrydns.net' |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set :repository, "git@bitbucket.org:clyfe/entrydns.git" |
|
|
|
set :repository, "git@bitbucket.org:clyfe/entrydns.git" |
|
|
|
set :deploy_to, '/srv/www/apps/entrydns' |
|
|
|
set :deploy_to, '/srv/www/apps/entrydns' |
|
|
|
set :user, 'clyfe' |
|
|
|
set :user, 'clyfe' |
|
|
|