Skip to content

Instantly share code, notes, and snippets.

@asizikov
Created November 1, 2015 19:01
Show Gist options
  • Save asizikov/25715ab8fb008f9a3e97 to your computer and use it in GitHub Desktop.
Save asizikov/25715ab8fb008f9a3e97 to your computer and use it in GitHub Desktop.
Creating Deployment
var newDeployment = new NewDeployment();
newDeployment.Ref = "branch-name";
newDeployment.Description = "deploing branch";
var deployment = await Client.Repository.Deployment.Create(owner,repo, newDeployment);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment