Skip to content

Commit 66d4127

Browse files
committed
fix(cd): doppler secrets sync
1 parent 234379d commit 66d4127

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/scraper.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
run:
1515
working-directory: ./apps/scraper
1616
environment: deploy-scraper
17+
env:
18+
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
19+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
1720

1821
steps:
1922
- name: 💾 Checkout code
@@ -29,9 +32,7 @@ jobs:
2932
uses: dopplerhq/cli-action@v3
3033

3134
- name: 🔑 Sync secrets with Cloudflare Worker
32-
run: doppler secrets --json | jq -c 'with_entries(.value = .value.computed)') | wrangler secret bulk
35+
run: doppler secrets --json | jq -c 'with_entries(.value = .value.computed)' | bunx wrangler secret bulk
3336

3437
- name: 🚀 Deploy to Cloudflare Workers
3538
run: bun run deploy
36-
env:
37-
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)