Class: Photish::Command::Deploy
- Defined in:
- lib/photish/command/deploy.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Log::SafeBlock
Methods included from Log::Loggable
Constructor Details
This class inherits a constructor from Photish::Command::Base
Instance Method Details
#run ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/photish/command/deploy.rb', line 4 def run load_all_plugins log.debug "Requested engine: #{engine}" return no_engine_found unless engine && engine_class log.debug "Regenerating site, to ensure fresh copy" regenerate_entire_site log.debug "Deploying with engine #{engine_class}" engine_class.new(config, log).deploy_site end |