Explorar o código

ci: add regional hostname

Dax Raad hai 6 meses
pai
achega
00a5ec5bd2
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      infra/stage.ts

+ 8 - 0
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,
+})