From 076c36bc856123e9f0e8bc5ddf1840f8f0d7ba15 Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Wed, 15 Apr 2026 12:36:07 -0600 Subject: [PATCH] fix CI azure login --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ed803dd4..3bf01e77 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Build and Deploy on: push: - branches: [main, azure-deploy] + branches: [main] env: REGISTRY: ghcr.io @@ -13,6 +13,7 @@ jobs: permissions: contents: read packages: write + id-token: write steps: - name: Checkout @@ -50,7 +51,9 @@ jobs: - name: Log in to Azure uses: azure/login@v1 with: - creds: ${{ secrets.AZURE_CREDENTIALS }} + client-id: ${{ secrets.AZURE_CLIENT_ID }} + tenant-id: ${{ secrets.AZURE_TENANT_ID }} + subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - name: Deploy backend run: |