File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -129,28 +129,13 @@ jobs:
129
129
node-version : 18
130
130
131
131
- name : Log in with Azure (Federated Credentials)
132
- if : ${{ env.AZURE_CLIENT_ID != '' }}
133
132
run : |
134
133
azd auth login `
135
134
--client-id "$Env:AZURE_CLIENT_ID" `
136
135
--federated-credential-provider "github" `
137
136
--tenant-id "$Env:AZURE_TENANT_ID"
138
137
shell : pwsh
139
138
140
- - name : Log in with Azure (Client Credentials)
141
- if : ${{ env.AZURE_CREDENTIALS != '' }}
142
- run : |
143
- $info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable;
144
- Write-Host "::add-mask::$($info.clientSecret)"
145
-
146
- azd auth login `
147
- --client-id "$($info.clientId)" `
148
- --client-secret "$($info.clientSecret)" `
149
- --tenant-id "$($info.tenantId)"
150
- shell : pwsh
151
- env :
152
- AZURE_CREDENTIALS : ${{ secrets.AZURE_CREDENTIALS }}
153
-
154
139
- name : Provision Infrastructure
155
140
run : azd provision --no-prompt
156
141
env :
Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ jobs:
159
159
az account set --subscription ${{env.AZURE_SUBSCRIPTION_ID}}
160
160
161
161
- name : Login to with Azure with azd (Federated Credentials)
162
- if : ${{ env.AZURE_CLIENT_ID != '' }}
163
162
run : |
164
163
azd auth login `
165
164
--client-id "$Env:AZURE_CLIENT_ID" `
You can’t perform that action at this time.
0 commit comments