# File lib/rhc/commands/app.rb, line 484
    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