Remove Provider registration and Update type

pull/86/head
Nish Anil 2022-04-22 04:29:39 +05:30
parent c33338bae6
commit b6ac0ffe3d
2 changed files with 1 additions and 2 deletions

View File

@ -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}}

View File

@ -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": [