@@ -381,9 +381,8 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
381381  const  version  =  deployment . version ; 
382382
383383  const  rawDeploymentLink  =  `${ authorization . dashboardUrl } ${ resolvedConfig . project } ${ deployment . shortCode }  ; 
384-   const  rawTestLink  =  `${ authorization . dashboardUrl } ${  
385-     resolvedConfig . project  
386-   }  /test?environment=${ options . env  ===  "prod"  ? "prod"  : "stg" } ; 
384+   const  rawTestLink  =  `${ authorization . dashboardUrl } ${ resolvedConfig . project  
385+     }  /test?environment=${ options . env  ===  "prod"  ? "prod"  : "stg" } ; 
387386
388387  const  deploymentLink  =  cliLink ( "View deployment" ,  rawDeploymentLink ) ; 
389388  const  testLink  =  cliLink ( "Test tasks" ,  rawTestLink ) ; 
@@ -562,8 +561,7 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
562561  const  taskCount  =  deploymentWithWorker . worker ?. tasks . length  ??  0 ; 
563562
564563  outro ( 
565-     `Version ${ version } ${ taskCount } ${ taskCount  ===  1  ? ""  : "s" } ${  
566-       isLinksSupported  ? `| ${ deploymentLink } ${ testLink }   : ""  
564+     `Version ${ version } ${ taskCount } ${ taskCount  ===  1  ? ""  : "s" } ${ isLinksSupported  ? `| ${ deploymentLink } ${ testLink }   : ""  
567565    }  `
568566  ) ; 
569567
@@ -586,18 +584,16 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
586584      TRIGGER_VERSION : version , 
587585      TRIGGER_DEPLOYMENT_SHORT_CODE : deployment . shortCode , 
588586      TRIGGER_DEPLOYMENT_URL : `${ authorization . dashboardUrl } ${ resolvedConfig . project } ${ deployment . shortCode }  , 
589-       TRIGGER_TEST_URL : `${ authorization . dashboardUrl } ${  
590-         resolvedConfig . project  
591-       }  /test?environment=${ options . env  ===  "prod"  ? "prod"  : "stg" } , 
587+       TRIGGER_TEST_URL : `${ authorization . dashboardUrl } ${ resolvedConfig . project  
588+         }  /test?environment=${ options . env  ===  "prod"  ? "prod"  : "stg" } , 
592589    } , 
593590    outputs : { 
594591      deploymentVersion : version , 
595592      workerVersion : version , 
596593      deploymentShortCode : deployment . shortCode , 
597594      deploymentUrl : `${ authorization . dashboardUrl } ${ resolvedConfig . project } ${ deployment . shortCode }  , 
598-       testUrl : `${ authorization . dashboardUrl } ${  
599-         resolvedConfig . project  
600-       }  /test?environment=${ options . env  ===  "prod"  ? "prod"  : "stg" } , 
595+       testUrl : `${ authorization . dashboardUrl } ${ resolvedConfig . project  
596+         }  /test?environment=${ options . env  ===  "prod"  ? "prod"  : "stg" } , 
601597      needsPromotion : options . skipPromotion  ? "true"  : "false" , 
602598    } , 
603599  } ) ; 
@@ -608,11 +604,15 @@ export async function syncEnvVarsWithServer(
608604  projectRef : string , 
609605  environmentSlug : string , 
610606  envVars : Record < string ,  string > , 
611-   parentEnvVars ?: Record < string ,  string > 
607+   parentEnvVars ?: Record < string ,  string > , 
608+   secrets ?: Record < string ,  boolean > , 
609+   parentEnvSecrets ?: Record < string ,  boolean > 
612610)  { 
613611  return  await  apiClient . importEnvVars ( projectRef ,  environmentSlug ,  { 
614612    variables : envVars , 
615613    parentVariables : parentEnvVars , 
614+     secrets, 
615+     parentSecrets : parentEnvSecrets , 
616616    override : true , 
617617  } ) ; 
618618} 
@@ -640,8 +640,7 @@ async function failDeploy(
640640      checkLogsForErrors ( logs ) ; 
641641
642642      outro ( 
643-         `${ chalkError ( `${ prefix }  ) } ${  
644-           error . message  
643+         `${ chalkError ( `${ prefix }  ) } ${ error . message  
645644        }  . Full build logs have been saved to ${ logPath } 
646645      ) ; 
647646
0 commit comments