File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106106 $backupSuccess = $false;
107107 echo "Attempting to restart Website`n"
108108 do{
109- $status = Get-webtate -name '${{env.SiteName}}'
109+ $status = Get-WebsiteState -name '${{env.SiteName}}'
110110 if ($status.Value -eq "Stopped") {
111111 start-iissite ${{env.SiteName}}
112112 echo "Website restarted`n---------`n"
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106106 $backupSuccess = $false;
107107 echo "Attempting to restart Website`n"
108108 do{
109- $status = Get-webtate -name '${{env.SiteName}}'
109+ $status = Get-WebsiteState -name '${{env.SiteName}}'
110110 if ($status.Value -eq "Stopped") {
111111 start-iissite ${{env.SiteName}}
112112 echo "Website restarted`n---------`n"
You can’t perform that action at this time.
0 commit comments