From b6ac0ffe3d578a254cadd1992b897cbaed129ac1 Mon Sep 17 00:00:00 2001 From: Nish Anil Date: Fri, 22 Apr 2022 04:29:39 +0530 Subject: [PATCH] Remove Provider registration and Update type --- .github/workflows/podcast-hub.yml | 1 - deploy/Services/hub.deployment.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/podcast-hub.yml b/.github/workflows/podcast-hub.yml index 733efc2..03fe235 100644 --- a/.github/workflows/podcast-hub.yml +++ b/.github/workflows/podcast-hub.yml @@ -59,7 +59,6 @@ jobs: azPSVersion: '3.1.0' inlineScript: | az extension add --name containerapp - az provider register --namespace Microsoft.App $STORAGEKEY=$(az storage account keys list -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} -n ${{secrets.STORAGE_NAME}} --query [0].value -o tsv) $PODCAST_API_URL ="https://"+$(az containerapp show -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} -n podcastapica -o tsv --query properties.configuration.ingress.fqdn)+"/" az deployment group create -n ghactionlistentogether${{ github.sha }} -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} --template-file deploy/Services/hub.deployment.json --parameters webAppName=${{secrets.HUB_WEBAPP_NAME}} servicePlanName=${{secrets.SERVICE_PLAN_NAME}} podcastApiUrl=$PODCAST_API_URL storageAccountKey=$STORAGEKEY storageAccountName=${{secrets.STORAGE_NAME}} administratorLogin=${{secrets.PODCASTDB_USER_LOGIN}} administratorLoginPassword=${{secrets.PODCASTDB_USER_PASSWORD}} serverName=${{secrets.PODCASTDB_SERVER_NAME}} diff --git a/deploy/Services/hub.deployment.json b/deploy/Services/hub.deployment.json index a064aa0..b4c4b70 100644 --- a/deploy/Services/hub.deployment.json +++ b/deploy/Services/hub.deployment.json @@ -111,7 +111,7 @@ }, "OrleansStorage": { "value": "[format('DefaultEndpointsProtocol=https;AccountName={0};EndpointSuffix=core.windows.net;AccountKey={1}', parameters('storageAccountName'), parameters('storageAccountKey'))]", - "type": "Storage" + "type": "Custom" } }, "dependsOn": [