Browse Source

default staging, separate task production

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
f2995a6c47
  1. 5
      config/deploy.rb

5
config/deploy.rb

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

Loading…
Cancel
Save