Skip to content

Commit 14b1b72

Browse files
authored
Added new credentials for azure login (#973)
* Added new credentials for azure login * update prod credentials * change workflow to avoid run duplication
1 parent b95ae12 commit 14b1b72

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/time-tracker-ui-cd-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Login to azure
2929
uses: Azure/login@v1
3030
with:
31-
creds: ${{ secrets.AZURE_CREDENTIALS }}
31+
creds: '{"clientId":"${{ secrets.TF_ARM_CLIENT_ID }}","clientSecret":"${{ secrets.TF_ARM_CLIENT_SECRET }}","subscriptionId":"${{ secrets.TF_ARM_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.TF_ARM_TENANT_ID }}"}'
3232

3333
- name: Unlock PROD secrets
3434
uses: sliteteam/[email protected]

.github/workflows/time-tracker-ui-cd-stage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Login to azure
2929
uses: Azure/login@v1
3030
with:
31-
creds: ${{ secrets.AZURE_CREDENTIALS }}
31+
creds: '{"clientId":"${{ secrets.TF_ARM_CLIENT_ID }}","clientSecret":"${{ secrets.TF_ARM_CLIENT_SECRET }}","subscriptionId":"${{ secrets.TF_ARM_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.TF_ARM_TENANT_ID }}"}'
3232

3333
- name: Unlock STAGE secrets
3434
uses: sliteteam/[email protected]

.github/workflows/time-tracker-ui-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: time-tracker-ui-ci
33
on:
44
push:
55
branches:
6-
- "**"
6+
- "master"
77

88
pull_request:
99
branches:
10-
- "**"
10+
- "master"
1111

1212
jobs:
1313
ci:

0 commit comments

Comments
 (0)