pr_01m47d24b0e6n91zwymwxg0vpx/services/deployments/wrangler.jsonc

45 lines1,701 bytesCodeBlame
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-deployments",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "./src/index.ts",
7 // Reached only through service bindings; builds report through the API.
8 "workers_dev": false,
9 "placement": { "mode": "smart" },
10 "d1_databases": [
11 {
12 "binding": "DB",
13 "database_name": "g1t-deployments",
14 "database_id": "TO_BE_CREATED",
15 "migrations_dir": "migrations"
16 }
17 ],
18 "services": [
19 { "binding": "REPOS", "service": "g1t-repos" },
20 { "binding": "WORK", "service": "g1t-work" },
21 { "binding": "IDENTITY", "service": "g1t-identity" },
22 { "binding": "BILLING", "service": "g1t-billing" },
23 { "binding": "RUNNER", "service": "g1t-runner" },
24 // Secrets and variables, with who may read each.
25 { "binding": "ACTIONS", "service": "g1t-actions" }
26 ],
27 // Pull requests opened, pushed to, closed and merged; pushes to the
28 // default branch.
29 "queues": {
30 "consumers": [{ "queue": "g1t-events-deployments", "max_batch_size": 20, "max_batch_timeout": 1 }]
31 },
32 // Builds that died, usage counts, idle previews, apps of ended plans,
33 // and charging a month that is over.
34 "triggers": { "crons": ["*/10 * * * *"] },
35 "vars": {
36 "CLOUDFLARE_ACCOUNT_ID": "1e6f2cffa3f445920836e8ebe446bb58",
37 // The Workers for Platforms namespace apps are uploaded to; the
38 // dispatcher on *.g1t.page (services/pages) reads from the same one.
39 "DISPATCH_NAMESPACE": "g1t-deployments",
40 "SITE": "https://g1t.sh"
41 },
42 // Secret: CLOUDFLARE_API_TOKEN, scoped to Workers Scripts (edit) and
43 // Account Analytics (read). Without it nothing deploys.
44 "observability": { "enabled": true }
45}