Skip to content

Commit fcdb6d5

Browse files
ci: [TT-412] gets azure vault
1 parent 1f4e1c1 commit fcdb6d5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/time-tracker-v1-workflow.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,18 @@ jobs:
3030
pip install -r requirements/time_tracker_api/dev.txt
3131
pip install -r requirements/time_tracker_events/dev.txt
3232
33+
- name: Get vault from azure
34+
uses: Azure/get-keyvault-secrets@v1
35+
with:
36+
keyvault: "time-tracker-secrets"
37+
secrets: 'MS-CLIENT-ID'
38+
id: timeTrackerAzureVault
39+
3340
- name: Inject secrets
3441
env:
35-
ENVIRONMENT: ${{ secrets.environment }}
36-
# remove it
42+
MS_CLIENT_ID: ${{ steps.timeTrackerAzureVault.outputs.MS-CLIENT-ID }}
3743
run: |
38-
echo $ENVIRONMENT
44+
echo $MS_CLIENT_ID
3945
4046
- name: Run tests
4147
run: |

0 commit comments

Comments
 (0)