Skip to content

Commit 6625d36

Browse files
Merge pull request #106 from dynatrace-oss/PCLOUDS-4826-update-deployment-command
Change deployment command due to deprecation
2 parents 7cbb317 + 93d296b commit 6625d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/dynatrace-azure-logs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ echo "- deploying function zip code into ${FUNCTIONAPP_NAME}..."
447447

448448
sleep 60 # wait some time to allow functionapp to warmup
449449

450-
az webapp deployment source config-zip -n ${FUNCTIONAPP_NAME} -g ${RESOURCE_GROUP} --src ${FUNCTION_ZIP_PACKAGE}
450+
az webapp deploy -n ${FUNCTIONAPP_NAME} -g ${RESOURCE_GROUP} --src ${FUNCTION_ZIP_PACKAGE}
451451

452452
if [[ "$ENABLE_USER_ASSIGNED_MANAGED_IDENTITY" == "true" ]]; then
453453
MANAGED_IDENTITY_RESOURCE_ID=$(az identity show --name ${MANAGED_IDENTITY_RESOURCE_NAME} -g ${RESOURCE_GROUP} --query id --output tsv)

0 commit comments

Comments
 (0)