Class: Capistrano::NetStorage::Plugin

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

Instance Method Summary collapse

Instance Method Details

#register_hooksObject



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

def register_hooks
  after  'deploy:new_release_path', 'net_storage:create_release'
  before 'deploy:check', 'net_storage:check'
  before 'deploy:set_current_revision', 'net_storage:set_current_revision'
end