From e0241819a401a86c7d5cfb2f55c25a58aa4e95ee Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Sat, 1 Mar 2025 10:29:44 +0000 Subject: [PATCH] fix: needsPromotion fixed in deploy github actions (#1741) --- .changeset/silent-squids-glow.md | 5 +++++ packages/cli-v3/src/commands/deploy.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/silent-squids-glow.md diff --git a/.changeset/silent-squids-glow.md b/.changeset/silent-squids-glow.md new file mode 100644 index 000000000..d78c7c98f --- /dev/null +++ b/.changeset/silent-squids-glow.md @@ -0,0 +1,5 @@ +--- +"trigger.dev": patch +--- + +Fixes needsPromotion github action output diff --git a/packages/cli-v3/src/commands/deploy.ts b/packages/cli-v3/src/commands/deploy.ts index 35478581d..003a8bd05 100644 --- a/packages/cli-v3/src/commands/deploy.ts +++ b/packages/cli-v3/src/commands/deploy.ts @@ -501,7 +501,7 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) { testUrl: `${authorization.dashboardUrl}/projects/v3/${ resolvedConfig.project }/test?environment=${options.env === "prod" ? "prod" : "stg"}`, - needsPromotion: options.skipPromotion ? "false" : "true", + needsPromotion: options.skipPromotion ? "true" : "false", }, }); }