Skip to content

Instantly share code, notes, and snippets.

@MikeLarned
Created January 24, 2012 04:30
Show Gist options
  • Select an option

  • Save MikeLarned/1667823 to your computer and use it in GitHub Desktop.

Select an option

Save MikeLarned/1667823 to your computer and use it in GitHub Desktop.
MsBuild Commands
--Deploy Package to Site defined in package parameters.xml
msdeploy -source:package=MyPackage.zip -dest:auto -verb:sync
--PSake
task deploy -depends package {
$p = "$packages_dir\$package";
exec { & .\$msdeploy "-source:package=$p" "-dest:auto" "-verb:sync" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment