mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
ci: fix
This commit is contained in:
parent
c73a17f8af
commit
a90f2b9723
10
infra/app.ts
10
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,
|
domain: "app." + domain,
|
||||||
path: "packages/app",
|
path: "packages/app",
|
||||||
build: {
|
build: {
|
||||||
@ -53,3 +53,11 @@ new sst.cloudflare.StaticSite("WebApp", {
|
|||||||
output: "./dist",
|
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",
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
import { domain } from "./stage"
|
|
||||||
|
|
||||||
new sst.cloudflare.StaticSite("Desktop", {
|
|
||||||
domain: "desktop." + domain,
|
|
||||||
path: "packages/app/public",
|
|
||||||
})
|
|
||||||
4
packages/console/core/sst-env.d.ts
vendored
4
packages/console/core/sst-env.d.ts
vendored
@ -98,6 +98,10 @@ declare module "sst" {
|
|||||||
"type": "sst.cloudflare.Astro"
|
"type": "sst.cloudflare.Astro"
|
||||||
"url": string
|
"url": string
|
||||||
}
|
}
|
||||||
|
"WebApp": {
|
||||||
|
"type": "sst.cloudflare.StaticSite"
|
||||||
|
"url": string
|
||||||
|
}
|
||||||
"ZEN_MODELS1": {
|
"ZEN_MODELS1": {
|
||||||
"type": "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
"value": string
|
"value": string
|
||||||
|
|||||||
4
packages/console/function/sst-env.d.ts
vendored
4
packages/console/function/sst-env.d.ts
vendored
@ -98,6 +98,10 @@ declare module "sst" {
|
|||||||
"type": "sst.cloudflare.Astro"
|
"type": "sst.cloudflare.Astro"
|
||||||
"url": string
|
"url": string
|
||||||
}
|
}
|
||||||
|
"WebApp": {
|
||||||
|
"type": "sst.cloudflare.StaticSite"
|
||||||
|
"url": string
|
||||||
|
}
|
||||||
"ZEN_MODELS1": {
|
"ZEN_MODELS1": {
|
||||||
"type": "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
"value": string
|
"value": string
|
||||||
|
|||||||
4
packages/console/resource/sst-env.d.ts
vendored
4
packages/console/resource/sst-env.d.ts
vendored
@ -98,6 +98,10 @@ declare module "sst" {
|
|||||||
"type": "sst.cloudflare.Astro"
|
"type": "sst.cloudflare.Astro"
|
||||||
"url": string
|
"url": string
|
||||||
}
|
}
|
||||||
|
"WebApp": {
|
||||||
|
"type": "sst.cloudflare.StaticSite"
|
||||||
|
"url": string
|
||||||
|
}
|
||||||
"ZEN_MODELS1": {
|
"ZEN_MODELS1": {
|
||||||
"type": "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
"value": string
|
"value": string
|
||||||
|
|||||||
4
packages/enterprise/sst-env.d.ts
vendored
4
packages/enterprise/sst-env.d.ts
vendored
@ -98,6 +98,10 @@ declare module "sst" {
|
|||||||
"type": "sst.cloudflare.Astro"
|
"type": "sst.cloudflare.Astro"
|
||||||
"url": string
|
"url": string
|
||||||
}
|
}
|
||||||
|
"WebApp": {
|
||||||
|
"type": "sst.cloudflare.StaticSite"
|
||||||
|
"url": string
|
||||||
|
}
|
||||||
"ZEN_MODELS1": {
|
"ZEN_MODELS1": {
|
||||||
"type": "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
"value": string
|
"value": string
|
||||||
|
|||||||
4
packages/function/sst-env.d.ts
vendored
4
packages/function/sst-env.d.ts
vendored
@ -98,6 +98,10 @@ declare module "sst" {
|
|||||||
"type": "sst.cloudflare.Astro"
|
"type": "sst.cloudflare.Astro"
|
||||||
"url": string
|
"url": string
|
||||||
}
|
}
|
||||||
|
"WebApp": {
|
||||||
|
"type": "sst.cloudflare.StaticSite"
|
||||||
|
"url": string
|
||||||
|
}
|
||||||
"ZEN_MODELS1": {
|
"ZEN_MODELS1": {
|
||||||
"type": "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
"value": string
|
"value": string
|
||||||
|
|||||||
4
sst-env.d.ts
vendored
4
sst-env.d.ts
vendored
@ -124,6 +124,10 @@ declare module "sst" {
|
|||||||
"type": "sst.cloudflare.Astro"
|
"type": "sst.cloudflare.Astro"
|
||||||
"url": string
|
"url": string
|
||||||
}
|
}
|
||||||
|
"WebApp": {
|
||||||
|
"type": "sst.cloudflare.StaticSite"
|
||||||
|
"url": string
|
||||||
|
}
|
||||||
"ZEN_MODELS1": {
|
"ZEN_MODELS1": {
|
||||||
"type": "sst.sst.Secret"
|
"type": "sst.sst.Secret"
|
||||||
"value": string
|
"value": string
|
||||||
|
|||||||
@ -18,7 +18,6 @@ export default $config({
|
|||||||
async run() {
|
async run() {
|
||||||
await import("./infra/app.js")
|
await import("./infra/app.js")
|
||||||
await import("./infra/console.js")
|
await import("./infra/console.js")
|
||||||
await import("./infra/desktop.js")
|
|
||||||
await import("./infra/enterprise.js")
|
await import("./infra/enterprise.js")
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user