Print preview URL (se) in deployment update

This commit is contained in:
balthazarbk
2026-05-20 10:37:18 +02:00
parent b1f17669e6
commit d2bd1a6a8f
@@ -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