Deploy Website from NuGet package using Web Deploy

Eric J. Smith's Avatar

Eric J. Smith

02 Mar, 2015 08:10 PM

So we package our web sites up using NuGet. This comes from us using Octopus for deployment, but it works out really nicely because you can just have a nuspec file in your project and add some file specs to it and you are done.

In octopus we are using a script that takes the nuget package, extracts it and then uses web deploy sync to push the site to Azure. I am wondering if there is some way to do something similar with your service that is just as easy without using the crappy Web Deploy packaging system. Ideally, I'd like to just create a zip file with our site in it and then have that sync'd to Azure via the Web Deploy sync feature.

Ideas?

  1. Support Staff 1 Posted by Feodor Fitsner on 02 Mar, 2015 08:17 PM

    Feodor Fitsner's Avatar

    Web Deploy is not that bad especially when cooked by AppVeyor :)
    You can use "Web Deploy auto-packaging" feature to automatically package Web App into Web Deploy package and then deploy it with Web Deploy provider without leaving AppVeyor.

    Alternatively, if you have a plain zip with web site contents it could be pushed via Web Deploy too. Just give it a try.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac