Skip to content

Commit 5f42ea4

Browse files
committed
fix: TT-610 debug ci 4
1 parent c77f7d5 commit 5f42ea4

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
AZURE_APP_CONFIGURATION_CONNECTION_STRING: ${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}
5050
run: |
5151
printenv
52-
chmod +x ./scripts/populate-keys.sh
53-
sh ./scripts/populate-keys.sh
52+
chmod +x ./scripts/populate-var-file.sh
53+
sh ./scripts/populate-var-file.sh
5454
5555
- name: Running tests
56-
run: npm run config && npm run ci-test --if-present
56+
run: npm run ci-test --if-present
5757

5858
- name: Generate coverage report
5959
env:

scripts/populate-var-file.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
> src/environments/keys.ts
4+
echo 'export const AUTHORITY = "'$AUTHORITY'";' >> src/environments/keys.ts
5+
echo 'export const CLIENT_ID = "'$CLIENT_ID'";' >> src/environments/keys.ts
6+
echo 'export const SCOPES = "'$SCOPES'";' >> src/environments/keys.ts
7+
echo 'export const STACK_EXCHANGE_ID = "'$STACK_EXCHANGE_ID'";' >> src/environments/keys.ts
8+
echo 'export const STACK_EXCHANGE_ACCESS_TOKEN = "'$STACK_EXCHANGE_ACCESS_TOKEN'";' >> src/environments/keys.ts
9+
echo 'export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = "'$AZURE_APP_CONFIGURATION_CONNECTION_STRING'";' >> src/environments/keys.ts
10+
cat src/environments/keys.ts

0 commit comments

Comments
 (0)