From ca3a64d26a90d856b21434488f75320a7c99a538 Mon Sep 17 00:00:00 2001 From: istarkov Date: Fri, 26 Jul 2024 06:04:46 +0000 Subject: [PATCH] ssg support --- packages/domain/src/trpc/domain.ts | 1 + packages/trpc-interface/src/shared/deployment.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/domain/src/trpc/domain.ts b/packages/domain/src/trpc/domain.ts index 7d7900fa5f3b..c259c38fef4e 100644 --- a/packages/domain/src/trpc/domain.ts +++ b/packages/domain/src/trpc/domain.ts @@ -91,6 +91,7 @@ export const domainRouter = router({ buildId: build.id, // preview support branchName: env.GITHUB_REF_NAME, + destination: input.destination, // action log helper (not used for deployment, but for action logs readablity) projectDomainName: project.domain, }); diff --git a/packages/trpc-interface/src/shared/deployment.ts b/packages/trpc-interface/src/shared/deployment.ts index f4f5958c1a30..6e24ad5ce75d 100644 --- a/packages/trpc-interface/src/shared/deployment.ts +++ b/packages/trpc-interface/src/shared/deployment.ts @@ -7,6 +7,7 @@ const PublishInput = z.object({ builderOrigin: z.string(), githubSha: z.string().optional(), + destination: z.enum(["saas", "static"]), // preview support branchName: z.string(), // action log helper (not used for deployment, but for action logs readablity)