From d4e9e82367f1ef93afa93853548d203aaad0198a Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Sun, 29 Jan 2012 14:16:23 -0800 Subject: [PATCH] port, default production, separate task staging --- config/deploy.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index fc93c23..1ea6d6c 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -2,10 +2,11 @@ require 'bundler/capistrano' default_run_options[:pty] = true set :application, 'entrydns' -set :domain, 'staging.entrydns.net' +set :domain, 'n0.entrydns.net' -task :production do - set :domain, 'n0.entrydns.net' +task :staging do + set :domain, 'staging.entrydns.net' + set :port, 2212 end set :repository, "git@bitbucket.org:clyfe/entrydns.git"