Class: Capistrano::BundleRsync::Plugin

Inherits:
SCM::Plugin
  • Object
show all
Defined in:
lib/capistrano/bundle_rsync/plugin.rb

Instance Method Summary collapse

Instance Method Details

#register_hooksObject



7
8
9
10
11
# File 'lib/capistrano/bundle_rsync/plugin.rb', line 7

def register_hooks
  after "deploy:new_release_path", "bundle_rsync:create_release"
  before "deploy:check", "bundle_rsync:check"
  before "deploy:set_current_revision", "bundle_rsync:set_current_revision"
end