Skip to content

Commit 0d0bf80

Browse files
Worker name mismatch (#9)
* Fix production worker naming Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com> * Fix deploy secret command Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com> * Remove production worker name override Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 748de36 commit 0d0bf80

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ jobs:
142142
env:
143143
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
144144
COOKIE_SECRET: ${{ secrets.COOKIE_SECRET }}
145-
run: echo "$COOKIE_SECRET" | bunx wrangler secret put COOKIE_SECRET
145+
run: |
146+
echo "$COOKIE_SECRET" | bunx wrangler secret put COOKIE_SECRET --env production
146147
147148
- name: ☁️ Deploy to Cloudflare Workers
148149
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)