Skip to content

Commit 710aee5

Browse files
committed
Fixes typo in workflows
1 parent 57e6919 commit 710aee5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

.github/workflows/build-and-deploy-uat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)