Print preview URL (se) in deployment update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user