Skip to content

Commit e1cb05b

Browse files
committed
Print build URL with build progress message
1 parent 867e8e1 commit e1cb05b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

commands/storybook.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ async function storybook(serve, options) {
128128
// Call static render API
129129
await axios.post(new URL(constants[options.env].STATIC_RENDER_PATH, constants[options.env].BASE_URL).href, payload)
130130
.then(async function (response) {
131+
console.log('[smartui] Build URL: ', response.data.data.buildURL);
131132
console.log('[smartui] Build in progress...');
132133
await shortPolling(response.data.data.buildId, 0, options);
133134
})

commands/utils/dom.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ async function sendDoM(storybookUrl, stories, storybookConfig, options) {
7979
}
8080
})
8181
.then(async function (response) {
82+
console.log('[smartui] Build URL: ', response.data.buildURL);
8283
console.log('[smartui] Build in progress...');
8384
await shortPolling(response.data.buildId, 0, options);
8485
})

0 commit comments

Comments
 (0)