Skip to content

Instantly share code, notes, and snippets.

@alChaCC
Created March 27, 2014 02:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alChaCC/9799113 to your computer and use it in GitHub Desktop.
Save alChaCC/9799113 to your computer and use it in GitHub Desktop.
config/deploy.rb
# config valid only for Capistrano 3.1
lock '3.1.0'
set :application, "CoolApplication"
set :repository, "your@git.location"
set :sidekiq_role, :sidekiqer
set :rvm_ruby_version, '2.0.0-p247@global'
set :linked_files, %w{config/database.yml config/application.yml}
set :linked_dirs, %w{public/uploads public/blog}
set :ssh_options, { :forward_agent => true }
namespace :deploy do
after :publishing, :restart
after 'deploy:assets:precompile', 'deploy:assets:sync'
after :finishing, 'deploy:cleanup'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment