Skip to content

Commit 2617961

Browse files
committed
Refactor Azure Login step to use credentials JSON format in deployment workflow
1 parent 12ca170 commit 2617961

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
- name: Azure Login
2727
uses: azure/[email protected]
2828
with:
29-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
30-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
31-
subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}
32-
enable-AzPSSession: true
29+
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ vars.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
3330

3431

3532

0 commit comments

Comments
 (0)