Skip to content

Commit 08960d2

Browse files
committed
🔧 Actions now split env vars
1 parent 079683d commit 08960d2

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/release-all-codemods.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- run: yarn test
2525
- run: yarn community:validate
2626
- run: yarn worker:sync
27+
env:
28+
WORKER_PRESHARED_KEY: ${{ secrets.WORKER_PRESHARED_KEY }}
2729
- run: yarn community:release-all
2830
env:
2931
CI: true

.github/workflows/release-codemods.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- run: yarn test
2727
- run: yarn community:validate
2828
- run: yarn worker:sync
29+
env:
30+
WORKER_PRESHARED_KEY: ${{ secrets.WORKER_PRESHARED_KEY }}
2931
- run: yarn community:release
3032
env:
3133
CI: true

scripts/sync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function main() {
4141
{
4242
headers: {
4343
'Content-Type': 'application/json',
44-
'X-Custom-PSK': process.env.WORKER_PRESHARED_KEY || '',
44+
'X-Custom-PSK': process.env.WORKER_PRESHARED_KEY!,
4545
},
4646
},
4747
);

0 commit comments

Comments
 (0)