Skip to content

Commit 3f85850

Browse files
alrios-msabrilgzz
authored andcommitted
Updated script to open UI
1 parent 42b368b commit 3f85850

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Deployment/Deploy-Resources.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,4 +1128,10 @@ function Deploy-Resources {
11281128
if ($StartFunctions) {
11291129
Start-FunctionApps -ResourceGroupName $computeResourceGroup
11301130
}
1131+
1132+
# open the web app
1133+
$staticWebApp = Get-AzStaticWebApp -Name "$SolutionAbbreviation-ui" -ResourceGroupName $computeResourceGroup
1134+
if ($null -ne $staticWebApp) {
1135+
Start-Process "https://$($staticWebApp.DefaultHostname)"
1136+
}
11311137
}

0 commit comments

Comments
 (0)