File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/cli-v3/src/commands Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 88 DeploymentFinalizedEvent ,
99} from "@trigger.dev/core/v3/schemas" ;
1010import { Command , Option as CommandOption } from "commander" ;
11- import { join , resolve } from "node:path" ;
11+ import { join , relative , resolve } from "node:path" ;
1212import { isCI } from "std-env" ;
1313import { x } from "tinyexec" ;
1414import { z } from "zod" ;
@@ -947,6 +947,11 @@ async function handleNativeBuildServerDeploy({
947947
948948 $deploymentSpinner . message ( "Deployment files uploaded" ) ;
949949
950+ const configFilePath =
951+ config . configFile !== undefined
952+ ? relative ( config . workspaceDir , config . configFile ) . replace ( / \\ / g, "/" )
953+ : undefined ;
954+
950955 const initializeDeploymentResult = await apiClient . initializeDeployment ( {
951956 contentHash : "-" ,
952957 userId,
@@ -956,6 +961,7 @@ async function handleNativeBuildServerDeploy({
956961 isNativeBuild : true ,
957962 artifactKey,
958963 skipPromotion : options . skipPromotion ,
964+ configFilePath,
959965 } ) ;
960966
961967 if ( ! initializeDeploymentResult . success ) {
You can’t perform that action at this time.
0 commit comments