Class: Deployer::ConsoleDeployer

Inherits:
BaseDeployer show all
Defined in:
lib/deployer/console_deployer.rb

Instance Attribute Summary

Attributes inherited from BaseDeployer

#options, #stage, #stage_path

Instance Method Summary collapse

Methods inherited from BaseDeployer

#initialize

Constructor Details

This class inherits a constructor from Deployer::BaseDeployer

Instance Method Details

#deploy!Object



3
4
5
6
7
8
9
# File 'lib/deployer/console_deployer.rb', line 3

def deploy!
  case deploy_via
  when 'scp' then deploy_via_scp
  when 'svn' then deploy_via_svn
  else raise "Unknown value for deploy_via: #{deploy_via}"
  end
end