Print preview URL (se) in deployment update
This commit is contained in:
@@ -310,6 +310,10 @@ module.exports = {
|
|||||||
await system.run(runPipelineCmd);
|
await system.run(runPipelineCmd);
|
||||||
await sleep(2000);
|
await sleep(2000);
|
||||||
|
|
||||||
|
const url = `https://test-${
|
||||||
|
stackName.split('photowall-test-')[1]
|
||||||
|
}.photowall-test.se`;
|
||||||
|
|
||||||
if (jsonOutput) {
|
if (jsonOutput) {
|
||||||
console.log(
|
console.log(
|
||||||
JSON.stringify(
|
JSON.stringify(
|
||||||
@@ -319,6 +323,7 @@ module.exports = {
|
|||||||
stack: stackName,
|
stack: stackName,
|
||||||
branch: branchName,
|
branch: branchName,
|
||||||
pipeline: `photowall-${stacksuffix}Pipeline`,
|
pipeline: `photowall-${stacksuffix}Pipeline`,
|
||||||
|
url,
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
2,
|
2,
|
||||||
@@ -327,6 +332,7 @@ module.exports = {
|
|||||||
} else {
|
} else {
|
||||||
spinner.stop();
|
spinner.stop();
|
||||||
print.fancy('Pipeline started, bye! 🚀');
|
print.fancy('Pipeline started, bye! 🚀');
|
||||||
|
print.info(`Will be deployed soon on ${chalk.cyan(url)}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// User cancelled
|
// User cancelled
|
||||||
|
|||||||
Reference in New Issue
Block a user