Skip to content

Commit e024181

Browse files
authored
fix: needsPromotion fixed in deploy github actions (#1741)
1 parent 796e710 commit e024181

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/silent-squids-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Fixes needsPromotion github action output

packages/cli-v3/src/commands/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
501501
testUrl: `${authorization.dashboardUrl}/projects/v3/${
502502
resolvedConfig.project
503503
}/test?environment=${options.env === "prod" ? "prod" : "stg"}`,
504-
needsPromotion: options.skipPromotion ? "false" : "true",
504+
needsPromotion: options.skipPromotion ? "true" : "false",
505505
},
506506
});
507507
}

0 commit comments

Comments
 (0)