summaryrefslogtreecommitdiffhomepage
path: root/infra/stage.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-27 01:28:11 -0400
committerDax Raad <[email protected]>2025-09-27 01:28:11 -0400
commit00a5ec5bd238ce7a00435daa4ce187375ac0c5c1 (patch)
treeb9da487203708790bd882c9a5693e7798abe8ec1 /infra/stage.ts
parent0b6b9062d93be205af7e4ad3b616162d5752c7d3 (diff)
downloadopencode-00a5ec5bd238ce7a00435daa4ce187375ac0c5c1.tar.gz
opencode-00a5ec5bd238ce7a00435daa4ce187375ac0c5c1.zip
ci: add regional hostname
Diffstat (limited to 'infra/stage.ts')
-rw-r--r--infra/stage.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/infra/stage.ts b/infra/stage.ts
index c1239832b..729422905 100644
--- a/infra/stage.ts
+++ b/infra/stage.ts
@@ -3,3 +3,11 @@ export const domain = (() => {
if ($app.stage === "dev") return "dev.opencode.ai"
return `${$app.stage}.dev.opencode.ai`
})()
+
+export const zoneID = "430ba34c138cfb5360826c4909f99be8"
+
+new cloudflare.RegionalHostname("RegionalHostname", {
+ hostname: domain,
+ regionKey: "us",
+ zoneId: zoneID,
+})