Skip to content

Commit 7f39262

Browse files
committed
fix: update deployment configuration to include JWT secret placeholder
1 parent 08446ac commit 7f39262

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
run: |
4646
cp wrangler.toml.example wrangler.toml
4747
sed -i "s/PLACEHOLDER_DATABASE_ID/${CLOUDFLARE_DATABASE_ID}/g" wrangler.toml
48+
sed -i "s/PLACEHOLDER_PROD_SECRET/${secrets.JWT_SECRET}/g" wrangler.toml
4849
4950
- name: Build all packages
5051
run: pnpm run build

apps/api/wrangler.toml.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ name = "tabitabi-api"
1919

2020
[env.production.vars]
2121
ALLOWED_ORIGINS = "https://tabitabi.pages.dev"
22+
JWT_SECRET = "PLACEHOLDER_PROD_SECRET"
2223

2324
[env.production.observability]
2425
enabled = true

0 commit comments

Comments
 (0)