Skip to content

Commit f625b2e

Browse files
committed
Update Azure deployment workflow to use Azure Login v1 and adjust permissions
1 parent 81be29e commit f625b2e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ on:
1313
workflow_dispatch: # Allows you to run the workflow manually
1414

1515
permissions:
16-
contents: read
17-
pull-requests: write
16+
id-token: write
17+
contents: read
18+
pull-requests: write
1819

1920
jobs:
2021
deploy-dev:
@@ -24,7 +25,7 @@ jobs:
2425
- uses: actions/checkout@v4
2526

2627
- name: Azure Login
27-
uses: azure/login@v2.1.1
28+
uses: azure/login@v1
2829
with:
2930
client-id: ${{ secrets.AZURE_CLIENT_ID }}
3031
tenant-id: ${{ secrets.AZURE_TENANT_ID }}

0 commit comments

Comments
 (0)