Skip to content

Commit 90b5da2

Browse files
authored
Update Commit_to_Main.yml
1 parent 82bf027 commit 90b5da2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/Commit_to_Main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: Print appsettings.json before update
1919
run: cat Common.Address/appsettings.json
2020

21-
env:
22-
API_KEY: ${{ secrets.HERE_PLATFORM_API_KEY }}
23-
2421
- name: Clear ApiKey using variable (with fallback)
2522
run: |
2623
jq --arg key "$API_KEY" '.Here.ApiKey = $key' Common.Address/appsettings.json > temp.json && mv temp.json Common.Address/appsettings.json
27-
24+
25+
env:
26+
API_KEY: ${{ secrets.HERE_PLATFORM_API_KEY }}
27+
2828
- name: Show updated appsettings.json
2929
run: cat Common.Address/appsettings.json

0 commit comments

Comments
 (0)