Method: Docman::Deployers::Deployer#execute

Defined in:
lib/docman/deployers/deployer.rb

#executeObject



79
80
81
82
83
84
85
86
87
# File 'lib/docman/deployers/deployer.rb', line 79

def execute
  run_with_hooks('build')
  if @changed
    run_with_hooks('deploy')
  else
    log 'No changes in docroot', 'info'
  end
  log "Deploy results:\n" + @build_results.to_yaml
end