example/config/deploy.rb in capistrano-bundle_rsync-0.2.4 vs example/config/deploy.rb in capistrano-bundle_rsync-0.2.5
- old
+ new
@@ -12,9 +12,10 @@
set :deploy_to, "#{ENV['HOME']}/sample"
set :scm, :bundle_rsync
set :bundle_rsync_max_parallels, ENV['PARA']
set :bundle_rsync_rsync_bwlimit, ENV['BWLIMIT'] # like 20000
+set :bundle_rsync_shared_dirs, File.expand_path('..', __dir__) # rsync example to shared/example
namespace :deploy do
desc 'Restart web application'
task :restart do
on roles(:web), in: :sequence, wait: 5 do