From 420a23d21e2e04812ace2e62bbb7155badeaddee Mon Sep 17 00:00:00 2001 From: Rebecca Hum Date: Mon, 11 Dec 2023 16:48:45 -0700 Subject: [PATCH] Change messaging --- src/bin/vip-deploy-app.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/vip-deploy-app.ts b/src/bin/vip-deploy-app.ts index 4fa5f50fbc..5dde509bb4 100755 --- a/src/bin/vip-deploy-app.ts +++ b/src/bin/vip-deploy-app.ts @@ -108,7 +108,8 @@ export async function deployAppCmd( arg: string[] = [], opts: Record< string, un const env = opts.env as AppEnvironment; const [ fileName ] = arg; - let fileMeta = await getFileMeta( fileName ); + const fileMeta = await getFileMeta( fileName ); + const basename = fileMeta.basename as string; debug( 'Options: ', opts ); debug( 'Args: ', arg ); @@ -248,7 +249,7 @@ Processing the file for deployment to your environment... progressTracker.stepSuccess( 'deploy' ); progressTracker.stopPrinting(); - console.log( `\nSuccessfully deployed ${ fileName } to ${ domain }. All set!` ); + console.log( `\n${ chalk.bold( chalk.green( basename ) ) } has been sent for deployment to ${ chalk.bold( chalk.yellow( domain ) ) }. Please check ${ chalk.bold( 'VIP Dashboard' ) } (under 'Code > Deployments') for deployment status.` ); } // Command examples for the `vip deploy app` help prompt