example/config/deploy.rb in capistrano-bundle_rsync-0.2.6 vs example/config/deploy.rb in capistrano-bundle_rsync-0.3.0
- old
+ new
@@ -13,9 +13,10 @@
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
+set :bundle_rsync_shared_rsync_options, "-az --delete --exclude=Capfile"
namespace :deploy do
desc 'Restart web application'
task :restart do
on roles(:web), in: :sequence, wait: 5 do