diff options
| author | Frank <[email protected]> | 2025-12-23 12:58:28 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-12-23 12:58:28 -0500 |
| commit | a90f2b97238e559518603dfc3c6963782506527b (patch) | |
| tree | 43776f04828935d2a3242651963a9161eef34b0b /infra | |
| parent | c73a17f8af8ed8dc09c599834c7cddeec2c05612 (diff) | |
| download | opencode-a90f2b97238e559518603dfc3c6963782506527b.tar.gz opencode-a90f2b97238e559518603dfc3c6963782506527b.zip | |
ci: fix
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/app.ts | 10 | ||||
| -rw-r--r-- | infra/desktop.ts | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/infra/app.ts b/infra/app.ts index 1b2351ec8..0879962db 100644 --- a/infra/app.ts +++ b/infra/app.ts @@ -45,7 +45,7 @@ new sst.cloudflare.x.Astro("Web", { }, }) -new sst.cloudflare.StaticSite("WebApp", { +const webApp = new sst.cloudflare.StaticSite("WebApp", { domain: "app." + domain, path: "packages/app", build: { @@ -53,3 +53,11 @@ new sst.cloudflare.StaticSite("WebApp", { output: "./dist", }, }) + +// Temporarily deploy the same app to desktop.domain without doing a full build +webApp.url.apply((url) => { + new sst.cloudflare.StaticSite("Desktop", { + domain: "desktop." + domain, + path: "packages/app/dist", + }) +}) diff --git a/infra/desktop.ts b/infra/desktop.ts deleted file mode 100644 index 5e326af81..000000000 --- a/infra/desktop.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { domain } from "./stage" - -new sst.cloudflare.StaticSite("Desktop", { - domain: "desktop." + domain, - path: "packages/app/public", -}) |
