Skip to content

Commit 0453d1e

Browse files
committed
Updated deploy scripts to use region-based managed identities
1 parent b5d3088 commit 0453d1e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/deploy-google-play-to-preview.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- main
1111
paths:
1212
- "apps/pwabuilder-google-play/**"
13+
- ".github/workflows/deploy-google-play-to-preview.yml"
1314
workflow_dispatch: null
1415

1516
jobs:
@@ -27,7 +28,7 @@ jobs:
2728
- name: Login with Azure CLI
2829
uses: azure/login@v2
2930
with:
30-
client-id: ${{ secrets.AZURE_APP_ID }}
31+
client-id: ${{ secrets.AZURE_WESTUS_APP_ID }}
3132
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
3233
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
3334

@@ -54,7 +55,7 @@ jobs:
5455
- name: Login with Azure CLI
5556
uses: azure/login@v2
5657
with:
57-
client-id: ${{ secrets.AZURE_APP_ID }}
58+
client-id: ${{ secrets.AZURE_CENTRALUS_APP_ID }}
5859
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
5960
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
6061

.github/workflows/deploy-msstore-to-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Login with Azure CLI with federated credentials
3737
uses: azure/login@v2
3838
with:
39-
client-id: ${{ secrets.AZURE_EASTUS_APP_ID }}
39+
client-id: ${{ secrets.AZURE_WESTUS_APP_ID }}
4040
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4141
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4242

@@ -78,7 +78,7 @@ jobs:
7878
- name: Login with Azure CLI with federated credentials
7979
uses: azure/login@v2
8080
with:
81-
client-id: ${{ secrets.AZURE_APP_ID }}
81+
client-id: ${{ secrets.AZURE_EASTUS_APP_ID }}
8282
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
8383
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
8484

0 commit comments

Comments
 (0)