g1t/services/deployments/wrangler.jsonc
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Deployments: a preview for every pull request, production on g1t.page | 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", | |
| Deploy scripts live in the repository | 14 | "database_id": "aa935a8f-845b-4132-8fa3-98f1afba1db5", |
| Deployments: a preview for every pull request, production on g1t.page | 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" }, | |
| Secrets and variables: one list, rows per environment, for workflows and deployments | 23 | { "binding": "RUNNER", "service": "g1t-runner" }, |
| Projects: what a workspace builds and runs, first on every page | 24 | // Deployments belong to projects. |
| 25 | { "binding": "PROJECTS", "service": "g1t-projects" }, | |
| Secrets and variables: one list, rows per environment, for workflows and deployments | 26 | // Secrets and variables, with who may read each. |
| 27 | { "binding": "ACTIONS", "service": "g1t-actions" } | |
| Deployments: a preview for every pull request, production on g1t.page | 28 | ], |
| 29 | // Pull requests opened, pushed to, closed and merged; pushes to the | |
| 30 | // default branch. | |
| 31 | "queues": { | |
| 32 | "consumers": [{ "queue": "g1t-events-deployments", "max_batch_size": 20, "max_batch_timeout": 1 }] | |
| 33 | }, | |
| 34 | // Builds that died, usage counts, idle previews, apps of ended plans, | |
| 35 | // and charging a month that is over. | |
| 36 | "triggers": { "crons": ["*/10 * * * *"] }, | |
| 37 | "vars": { | |
| 38 | "CLOUDFLARE_ACCOUNT_ID": "1e6f2cffa3f445920836e8ebe446bb58", | |
| 39 | // The Workers for Platforms namespace apps are uploaded to; the | |
| 40 | // dispatcher on *.g1t.page (services/pages) reads from the same one. | |
| 41 | "DISPATCH_NAMESPACE": "g1t-deployments", | |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 42 | "SITE": "https://g1t.sh", |
| 43 | // The g1t.page zone: custom domains are Cloudflare for SaaS custom | |
| 44 | // hostnames on it (see src/domains.ts). | |
| 45 | "CUSTOM_HOSTNAMES_ZONE_ID": "45d1c969bdd9d593756e70d5f45c2cbb" | |
| Deployments: a preview for every pull request, production on g1t.page | 46 | }, |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 47 | // Custom domains: hostname to app, written here and read by the |
| 48 | // dispatcher (services/pages). Made by scripts/setup-custom-domains.sh. | |
| 49 | "kv_namespaces": [{ "binding": "DOMAINS", "id": "14bc5c233d4c46a5bbf23b5367cce5fd" }], | |
| Deployments: a preview for every pull request, production on g1t.page | 50 | // Secret: CLOUDFLARE_API_TOKEN, scoped to Workers Scripts (edit) and |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 51 | // Account Analytics (read), and, for custom domains, SSL and |
| 52 | // Certificates (edit) on the g1t.page zone. Without it nothing deploys. | |
| Deployments: a preview for every pull request, production on g1t.page | 53 | "observability": { "enabled": true } |
| 54 | } |