load 'deploy' if respond_to?(:namespace) # cap2 differentiator

set :application, "wompt"
set :user, "ubuntu"
set :host, "wompt.com"

set :scm, :git
set :repository, "git@github.com:abtinf/wompt.git"
set :git_enable_submodules, true
set :deploy_via, :remote_cache


role :app, host

set :use_sudo, true
set :admin_runner, 'ubuntu'
set :normalize_asset_timestamps, false
set :copy_exclude, [".git"]

default_run_options[:pty] = true

task :production do
  # :deployment variable should match task name
  set :deployment, 'production'
  set :deploy_to, "/home/ubuntu/www/#{application}"
  set :branch, "master"
  # environment string that is passed to the nodejs and auth apps at startup
  set :application_environment, 'production'
  find_and_execute_task("deploy:tags:schedule_creation")
end

load 'config/tasks'
load 'config/config_files'
load 'config/deploy_tags'
load 'config/symlinks'
load 'config/npm'
load 'config/gems'

load 'deploy' if respond_to?(:namespace) # cap2 differentiator

set :application, "wompt"
set :user, "ubuntu"
set :host, "wompt.com"

set :scm, :git
set :repository, "git@github.com:Wompt/wompt.com.git"
set :git_enable_submodules, true
set :deploy_via, :remote_cache


role :app, host

set :use_sudo, true
set :admin_runner, 'ubuntu'
set :normalize_asset_timestamps, false
set :copy_exclude, [".git"]

default_run_options[:pty] = true

task :production do
  # :deployment variable should match task name
  set :deployment, 'production'
  set :deploy_to, "/home/ubuntu/www/#{application}"
  set :branch, "master"
  # environment string that is passed to the nodejs and auth apps at startup
  set :application_environment, 'production'
  find_and_execute_task("deploy:tags:schedule_creation")
end

load 'config/tasks'
load 'config/config_files'
load 'config/deploy_tags'
load 'config/symlinks'
load 'config/npm'
load 'config/gems'

Change git repo to wompt/wompt.com
Change git repo to wompt/wompt.com
