Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 11398081c1
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 0.881 kB
default_run_options[:pty] = true
# be sure to change these
set :user, 'agilities'
set :domain, 'discipline.es'
set :application, 'seinfeld'
# the rest should be good
set :repository, "git@github.com:krrh/#{application}.git"
set :deploy_to, "/home/#{user}/#{domain}"
set :deploy_via, :remote_cache
set :scm, 'git'
set :branch, 'master'
set :git_shallow_clone, 1
set :scm_verbose, true
set :use_sudo, false
server domain, :app, :web
role :db, domain, :primary => true
# desc "Link in the production database.yml and link to http credentials"
# task :after_update_code do
# run "ln -nfs #{deploy_to}/#{shared_dir}/config/database.yml #{release_path}/config/database.yml"
# run "ln -nfs #{deploy_to}/#{shared_dir}/lib/http_auth.rb #{release_path}/lib/http_auth.rb"
# end
namespace :deploy do
task :restart do
run "touch #{current_path}/tmp/restart.txt"
end
end
Jump to Line
Something went wrong with that request. Please try again.