Summary
Requests a deployment of a specified release to an environment.
Syntax
public void DeployRelease(string server, string apiKey, string projectName, string[] deployTo, string releaseNumber, OctopusDeployReleaseDeploymentSettings settings)
Parameters
Name |
Type |
Description |
server |
string |
Octopus Server URL. |
apiKey |
string |
The user's API key. |
projectName |
string |
Name of the target project. |
deployTo |
string[] |
Environment to deploy to, e.g., Production. |
releaseNumber |
string |
Release number to be deployed to. |
settings |
OctopusDeployReleaseDeploymentSettings |
Settings for the deployment. |
Return Value