diff --git a/.github/workflows/azure-dev.yaml b/.github/workflows/azure-dev.yaml index 526110f..add0d8c 100644 --- a/.github/workflows/azure-dev.yaml +++ b/.github/workflows/azure-dev.yaml @@ -30,7 +30,6 @@ jobs: uses: Azure/setup-azd@v2.1.0 - name: Log in with Azure (Federated Credentials) - if: ${{ env.AZURE_CLIENT_ID != '' }} run: | azd auth login ` --client-id "$Env:AZURE_CLIENT_ID" ` @@ -38,20 +37,6 @@ jobs: --tenant-id "$Env:AZURE_TENANT_ID" shell: pwsh - - name: Log in with Azure (Client Credentials) - if: ${{ env.AZURE_CREDENTIALS != '' }} - run: | - $info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable; - Write-Host "::add-mask::$($info.clientSecret)" - - azd auth login ` - --client-id "$($info.clientId)" ` - --client-secret "$($info.clientSecret)" ` - --tenant-id "$($info.tenantId)" - shell: pwsh - env: - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - - name: Provision Infrastructure run: azd provision --no-prompt env: