Skip to content

Instantly share code, notes, and snippets.

@FeodorFitsner
Created April 25, 2016 16:59
Show Gist options
  • Save FeodorFitsner/f97173d474b7cc29da10aeb1b5745a33 to your computer and use it in GitHub Desktop.
Save FeodorFitsner/f97173d474b7cc29da10aeb1b5745a33 to your computer and use it in GitHub Desktop.
Deploy Web Deploy package to local IIS using msdeploy.exe
deploy_script:
- ps: $env:package_path = $artifacts.values[0].path
- '"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package="%package_path%" -dest:auto -setParam:name="IIS Web Application Name",value="Default Web Site"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment