Skip to content

Commit 6a01e8e

Browse files
committed
Fixing pr workflow
1 parent 9f08f5e commit 6a01e8e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pr_check_webapp_dotnet_windows.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- master
1313
- 'releases/*'
1414

15+
permissions:
16+
id-token: write
17+
1518
# CONFIGURATION
1619
# For help, go to https://github.com/Azure/Actions
1720
#
@@ -75,9 +78,11 @@ jobs:
7578
}
7679
7780
- name: Azure authentication
78-
uses: azure/login@v1
81+
uses: azure/login@v2
7982
with:
80-
creds: ${{ secrets.AZURE_WEBAPP_SPN }}
83+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
84+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
85+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
8186

8287
- name: 'Deploy to Azure WebApp'
8388
uses: ./webapps-deploy/

0 commit comments

Comments
 (0)