Instantly share code, notes, and snippets.

Embed
What would you like to do?
.NET build step
dotnet restore
dotnet build --configuration "Release"
dotnet publish --configuration "Release" src/Website/Website.csproj --output published-website
dotnet /opt/octopus/cli/Octo.dll pack --id MyProject.Website --version "${BUILD_NUMBER}" --basePath src/Website/published-website --format=zip
dotnet /opt/octopus/cli/Octo.dll push --package MyProject.Website."${BUILD_NUMBER}".zip --server http://octopus/ --apiKey API-YOURAPIKEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment