Skip to content

@danhere /deploy.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
My Capistrano Deploy
set :application, "nests"
set :repository, "git@github.com:danhere/nests.git"
set :scm, :git
set :user, "dan"
set :deploy_to, "~/apps/#{application}"
set :deploy_via, :remote_cache
set :keep_releases, 5
set :branch, "master"
set :use_sudo, false
ssh_options[:forward_agent] = true
ssh_options[:paranoid] = false
server "meettimes.com", :app, :web, :db
# if you're still using the script/reaper helper you will need
# these http://github.com/rails/irs_process_scripts
# If you are using Passenger mod_rails uncomment this:
namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.