Skip to content

Instantly share code, notes, and snippets.

@FeodorFitsner
Created June 20, 2015 03:43
Show Gist options
  • Select an option

  • Save FeodorFitsner/03fe1a93138ef6917651 to your computer and use it in GitHub Desktop.

Select an option

Save FeodorFitsner/03fe1a93138ef6917651 to your computer and use it in GitHub Desktop.
How to publish Web Deploy package to local IIS web site
"`"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe`" -verb:sync -source:package=`"$($artifacts.values[0].path)`" -dest:auto -setParam:name=`"IIS Web Application Name`",value=`"Default Web Site`"" | out-file ".\sync.cmd" -Encoding ASCII
& .\sync.cmd
dir c:\inetpub\wwwroot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment