This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
redstoner.com/config/deploy.rb
2016-01-29 22:01:33 +01:00

27 lines
685 B
Ruby

# config valid only for current version of Capistrano
lock '3.4.0'
set :repo_url, 'https://github.com/RedstonerServer/redstoner.com'
set :scm, :git
set :ssh_options, { forward_agent: true }
set :default_environment, {
'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
}
set :keep_releases, 5
set :deploy_to, -> { "/home/www-data/apps/#{fetch(:application)}" }
set :rbenv_ruby, '2.0.0-p648'
set :bundle_without, %w{development test}.join(' ')
# Default value for linked_dirs is []
set :linked_dirs, fetch(:linked_dirs, []).push('bin', 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
namespace :deploy do
after :publishing, :restart
end