-
-
Save FeodorFitsner/03fe1a93138ef6917651 to your computer and use it in GitHub Desktop.
How to publish Web Deploy package to local IIS web site
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "`"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