Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created September 6, 2016 13:56
Show Gist options
  • Save dcomartin/1572958b19563d26a7b14a4020c885c2 to your computer and use it in GitHub Desktop.
Save dcomartin/1572958b19563d26a7b14a4020c885c2 to your computer and use it in GitHub Desktop.
Task("OctoPush")
.IsDependentOn("Pack")
.Does(() => {
OctoPush("http://your.octopusdeploy.server", "YOUR_API_KEY", new FilePath("./nuget/CakeDemo.0.0.0.1.nupkg"),
new OctopusPushSettings {
ReplaceExisting = true
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment