From d2bd1a6a8ff9efe7a4e943cf1c5e744474b023d1 Mon Sep 17 00:00:00 2001 From: balthazarbk Date: Wed, 20 May 2026 10:37:18 +0200 Subject: [PATCH] Print preview URL (se) in deployment update --- src/commands/deployment/testservers/update/update.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/deployment/testservers/update/update.ts b/src/commands/deployment/testservers/update/update.ts index 0fea97c..5ef4084 100644 --- a/src/commands/deployment/testservers/update/update.ts +++ b/src/commands/deployment/testservers/update/update.ts @@ -310,6 +310,10 @@ module.exports = { await system.run(runPipelineCmd); await sleep(2000); + const url = `https://test-${ + stackName.split('photowall-test-')[1] + }.photowall-test.se`; + if (jsonOutput) { console.log( JSON.stringify( @@ -319,6 +323,7 @@ module.exports = { stack: stackName, branch: branchName, pipeline: `photowall-${stacksuffix}Pipeline`, + url, }, null, 2, @@ -327,6 +332,7 @@ module.exports = { } else { spinner.stop(); print.fancy('Pipeline started, bye! 🚀'); + print.info(`Will be deployed soon on ${chalk.cyan(url)}`); } } else { // User cancelled