Method: RHC::Commands::App#deploy

Defined in:
lib/rhc/commands/app.rb

#deploy(ref) ⇒ Object



380
381
382
383
384
385
386
387
388
# File 'lib/rhc/commands/app.rb', line 380

def deploy(ref)
  rest_app = find_app

  raise RHC::DeploymentsNotSupportedException.new if !rest_app.supports? "DEPLOY"

  deploy_artifact(rest_app, ref, options.hot_deploy, options.force_clean_build)

  0
end