Skip to content

Commit 29661d9

Browse files
committed
Store Locator deployment update
1 parent e5b9342 commit 29661d9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Static/storelocator/deploy.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Azure Maps Store Locator (version 1.0)
1+
# Azure Maps Store Locator (version 1.1)
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# https://github.com/Azure-Samples/Azure-Maps-Locator
44
#
@@ -104,7 +104,8 @@ try {
104104
# Deploy Azure Maps Store Locator
105105
Write-Output "- Initiating the deployment of the Store Locator website..."
106106
Invoke-WebRequest "https://samples.azuremaps.com/storelocator/storelocator.zip" -OutFile storelocator$suffix.zip
107-
az webapp deployment source config-zip -g $group -n $webappname --src storelocator$suffix.zip | Out-Null
107+
#az webapp deployment source config-zip -g $group -n $webappname --src storelocator$suffix.zip | Out-Null
108+
az webapp deploy --resource-group $group --name $webappname --src-path storelocator$suffix.zip --type zip | Out-Null
108109
Remove-Item storelocator$suffix.zip | Out-Null
109110

110111
# Done
26 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)