diff --git a/.github/workflows/podcast-web.yml b/.github/workflows/podcast-web.yml index 6f1b042..a0aeec7 100644 --- a/.github/workflows/podcast-web.yml +++ b/.github/workflows/podcast-web.yml @@ -44,8 +44,8 @@ jobs: with: azPSVersion: "latest" inlineScript: | - az extension add --source https://workerappscliextension.blob.core.windows.net/azure-cli-extension/containerapp-0.2.0-py2.py3-none-any.whl --yes - az provider register --namespace Microsoft.Web + az extension add --name containerapp + az provider register --namespace Microsoft.App $apiUrl = "https://$(az containerapp show -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} -n ${{ env.API_RESOURCE_NAME }} -o tsv --query configuration.ingress.fqdn)" $listenTogetherHubUrl = "https://${{ secrets.HUB_WEBAPP_NAME }}.azurewebsites.net/listentogether" echo "PODCAST_API_URL=$apiUrl" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append