Skip to content

Commit 9b1d51f

Browse files
authored
Update main_black-wave-49d1c3ddb610467ebc288a262d83f540.yml
changed az login
1 parent 40d8d74 commit 9b1d51f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/main_black-wave-49d1c3ddb610467ebc288a262d83f540.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
environment:
5050
name: 'Production'
5151
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
52-
permissions:
53-
id-token: write #This is required for requesting the JWT
52+
permissions:
53+
id-token: write #This is required for requesting the JWT
5454

5555
steps:
5656
- name: Download artifact from build job
@@ -61,18 +61,17 @@ jobs:
6161
- name: Unzip artifact for deployment
6262
run: unzip release.zip
6363

64-
65-
- name: Login to Azure
66-
uses: azure/login@v2
67-
with:
68-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_3917118FFA27476FB2F60F02485D5445 }}
69-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_5F7FFDB7200F46EBACE17F20B667579E }}
70-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_87147C59DD054506A0700C68A5F4EAA0 }}
64+
65+
- name: Login to Azure
66+
uses: azure/login@v2
67+
with:
68+
creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }}
69+
enable-AzPSSession: true
7170

7271
- name: 'Deploy to Azure Web App'
7372
uses: azure/webapps-deploy@v3
7473
id: deploy-to-webapp
7574
with:
7675
app-name: 'black-wave-49d1c3ddb610467ebc288a262d83f540'
7776
slot-name: 'Production'
78-
77+

0 commit comments

Comments
 (0)