Skip to content

Commit b79c376

Browse files
Federated Credentials 2 (#185)
1 parent e3aaa5c commit b79c376

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/template-build-deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ jobs:
122122
if: ${{ vars.TAKE_APP_OFFLINE != 'TRUE' }}
123123
uses: azure/login@v2
124124
with:
125-
creds: ${{ secrets.AZURE_CREDENTIALS }}
125+
client-id: ${{ secrets.CLIENT_ID }}
126+
tenant-id: ${{ secrets.AZURE_TENANT }}
127+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION }}
126128

127129
- name: Deploy to Azure Web App
128130
if: ${{ vars.TAKE_APP_OFFLINE != 'TRUE' }}
@@ -168,7 +170,9 @@ jobs:
168170
- name: Azure Login
169171
uses: azure/login@v2
170172
with:
171-
creds: ${{ secrets.AZURE_CREDENTIALS }}
173+
client-id: ${{ secrets.CLIENT_ID }}
174+
tenant-id: ${{ secrets.AZURE_TENANT }}
175+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION }}
172176

173177
# TODO: Move to federated auth
174178

0 commit comments

Comments
 (0)