Skip to content

Commit dd8bf15

Browse files
committed
Update Azure deployment workflow to use secrets for subscription ID
1 parent a8d979c commit dd8bf15

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@ jobs:
2727
with:
2828
client-id: ${{ secrets.AZURE_CLIENT_ID }}
2929
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
30-
subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}
31-
enable-AzPSSession: false
32-
environment: azurecloud
33-
allow-no-subscriptions: false
34-
audience: api://AzureADTokenExchange
35-
auth-type: SERVICE_PRINCIPAL
30+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
31+
3632

3733
- uses: azure/CLI@v2
3834
with:

0 commit comments

Comments
 (0)