module AcquiaCloudApi::Client::Deployments

Public Instance Methods

deploy!(git_ref, to_env)
Alias for: deploy_reference!
deploy_ref!(git_ref, to_env)
Alias for: deploy_reference!
deploy_reference!(git_ref, to_env) click to toggle source
# File lib/acapi/client/deployments.rb, line 5
def deploy_reference!(git_ref, to_env)
  params = {
    :path => git_ref
  }
  post "sites/#{site_name}/envs/#{to_env}/code-deploy", params
end
Also aliased as: deploy!, deploy_ref!