mirror of
https://github.com/actions/deploy-pages.git
synced 2026-03-30 18:14:52 +00:00
update error message
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -7082,7 +7082,7 @@ class Deployment {
|
|||||||
})
|
})
|
||||||
core.info(JSON.stringify(data))
|
core.info(JSON.stringify(data))
|
||||||
if (data.value.length == 0) {
|
if (data.value.length == 0) {
|
||||||
throw new Error('No uploaded artifact was found!')
|
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step.')
|
||||||
}
|
}
|
||||||
const artifactUrl = `${data.value[0].url}&%24expand=SignedContent`
|
const artifactUrl = `${data.value[0].url}&%24expand=SignedContent`
|
||||||
const payload = {
|
const payload = {
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -7082,7 +7082,7 @@ class Deployment {
|
|||||||
})
|
})
|
||||||
core.info(JSON.stringify(data))
|
core.info(JSON.stringify(data))
|
||||||
if (data.value.length == 0) {
|
if (data.value.length == 0) {
|
||||||
throw new Error('No uploaded artifact was found!')
|
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step.')
|
||||||
}
|
}
|
||||||
const artifactUrl = `${data.value[0].url}&%24expand=SignedContent`
|
const artifactUrl = `${data.value[0].url}&%24expand=SignedContent`
|
||||||
const payload = {
|
const payload = {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -38,7 +38,7 @@ class Deployment {
|
|||||||
})
|
})
|
||||||
core.info(JSON.stringify(data))
|
core.info(JSON.stringify(data))
|
||||||
if (data.value.length == 0) {
|
if (data.value.length == 0) {
|
||||||
throw new Error('No uploaded artifact was found!')
|
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step.')
|
||||||
}
|
}
|
||||||
const artifactUrl = `${data.value[0].url}&%24expand=SignedContent`
|
const artifactUrl = `${data.value[0].url}&%24expand=SignedContent`
|
||||||
const payload = {
|
const payload = {
|
||||||
|
|||||||
Reference in New Issue
Block a user