We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c999812 commit 037aee8Copy full SHA for 037aee8
2 files changed
.github/workflows/deploy.yml
@@ -37,8 +37,10 @@ jobs:
37
- name: Install dependencies
38
run: pnpm install --frozen-lockfile
39
40
- - name: Copy wrangler.toml from example
41
- run: cp wrangler.toml.example wrangler.toml
+ - name: Generate wrangler.toml from example
+ run: |
42
+ cp wrangler.toml.example wrangler.toml
43
+ sed -i "s/PLACEHOLDER_DATABASE_ID/${CLOUDFLARE_DATABASE_ID}/g" wrangler.toml
44
45
- name: Generate API wrangler.toml from example
46
working-directory: apps/api
wrangler.toml.example
@@ -13,4 +13,4 @@ enabled = true
13
[[d1_databases]]
14
binding = "DB"
15
database_name = "tabitabi"
16
-# database_id is set via the environment variable CLOUDFLARE_DATABASE_ID
+database_id = "PLACEHOLDER_DATABASE_ID"
0 commit comments