File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ jobs:
3535 base_path = os.environ.get('BASE_PATH', 'src/environments/')
3636 with open(base_path + "keys.ts", "w") as fileWithKeys:
3737 scopes = os.environ['SCOPES']
38+ export_scopes = f'export const SCOPES = ["{scopes}"];\n'
39+ print(export_scopes)
3840 client_id = os.environ['CLIENT_ID']
41+ export_client_id = f'export const CLIENT_ID = "{client_id}";\n'
42+ print(export_client_id)
3943 authority = os.environ['AUTHORITY']
40- print('scopes')
41- print(scopes)
42- print('client_id')
43- print(client_id)
44- print('authority')
45- print(authority)
46- fileWithKeys.write('export const SCOPES = ["XXX"];')
47- fileWithKeys.write('\nexport const CLIENT_ID = "XXX";')
48- fileWithKeys.write('\nexport const AUTHORITY = "XXX";')
44+ export_authority = f'export const AUTHORITY = "{authority}";\n'
45+ print(export_authority)
46+ fileWithKeys.write(export_scopes)
47+ fileWithKeys.write(export_authority)
48+ fileWithKeys.write(export_client_id)
4949
5050 - name : Run the test
5151 run : npm run ci-test --if-present
You can’t perform that action at this time.
0 commit comments