Skip to content

Commit 28f6403

Browse files
authored
fix: ensure api key blocks are set in ci/cd (#3442)
### Motivation a github environment secret sets the api key blocks, but it was not being passed to the CD process so the blocks are not being set automatically on deployment. ### Modifications Allow the CD process to have access to the blocked api keys ### Verification will check nonprod after deployment.
1 parent 387d6ff commit 28f6403

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
npx lerna run bundle --stream
125125
npx lerna run deploy:deploy --stream
126126
env:
127+
BASEMAPS_API_KEY_BLOCKS: ${{ secrets.BASEMAPS_API_KEY_BLOCKS }}
127128
GOOGLE_ANALYTICS: ${{ secrets.GOOGLE_ANALYTICS }}
128129
NODE_ENV: 'dev'
129130

@@ -179,8 +180,9 @@ jobs:
179180
npx lerna run bundle --stream
180181
npx lerna run deploy:deploy --stream
181182
env:
182-
NODE_ENV: 'production'
183+
BASEMAPS_API_KEY_BLOCKS: ${{ secrets.BASEMAPS_API_KEY_BLOCKS }}
183184
GOOGLE_ANALYTICS: ${{ secrets.GOOGLE_ANALYTICS }}
185+
NODE_ENV: 'production'
184186

185187
- name: (Prod) After Deploy Smoke Test
186188
run: |

0 commit comments

Comments
 (0)