-
Notifications
You must be signed in to change notification settings - Fork 4
Example Publish Script
Sitecore Ignition Contributors edited this page Jan 29, 2017
·
1 revision
$msBuildPath = "C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe"
$siteName = "mysite.local"
&"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" myproject.sln /p:deployonbuild=true /p:publishprofile=Debug
Invoke-WebRequest -Uri $sitename
write-host "Success"
This will first deploy ALL of your web projects, and then hit the site with a web request to immediately spin up the app pool.
Enjoy!
Copyright 2017 by Jon Upchurch and Perficient, Inc. Licensed for use under the MIT License