Summary
Requests a promotion of a specified release to an environment.
Syntax
public void PromoteRelease(string server, string apiKey, string projectName, string deployFrom, string deployTo, OctopusDeployPromoteReleaseSettings settings)
Parameters
| Name |
Type |
Description |
| server |
string |
Octopus Server URL. |
| apiKey |
string |
The user's API key. |
| projectName |
string |
Name of the target project. |
| deployFrom |
string |
Environment to promote from, e.g., Staging. |
| deployTo |
string |
Environment to promote to, e.g., Production. |
| settings |
OctopusDeployPromoteReleaseSettings |
Settings for the deployment. |
Return Value