mirror of
https://github.com/actions/deploy-pages.git
synced 2026-03-30 01:54:52 +00:00
check if it's due to "."
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -7126,7 +7126,7 @@ class Deployment {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
core.info(JSON.stringify(data))
|
core.info(JSON.stringify(data))
|
||||||
const artifactRawUrl = data?.value?.find(artifact => artifact.name === this.artifactName)?.url
|
const artifactRawUrl = data.value.find(artifact => artifact.name === this.artifactName).url
|
||||||
if (!artifactRawUrl) {
|
if (!artifactRawUrl) {
|
||||||
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
|
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
|
||||||
}
|
}
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -7126,7 +7126,7 @@ class Deployment {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
core.info(JSON.stringify(data))
|
core.info(JSON.stringify(data))
|
||||||
const artifactRawUrl = data?.value?.find(artifact => artifact.name === this.artifactName)?.url
|
const artifactRawUrl = data.value.find(artifact => artifact.name === this.artifactName).url
|
||||||
if (!artifactRawUrl) {
|
if (!artifactRawUrl) {
|
||||||
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
|
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -45,7 +45,7 @@ class Deployment {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
core.info(JSON.stringify(data))
|
core.info(JSON.stringify(data))
|
||||||
const artifactRawUrl = data?.value?.find(artifact => artifact.name === this.artifactName)?.url
|
const artifactRawUrl = data.value.find(artifact => artifact.name === this.artifactName).url
|
||||||
if (!artifactRawUrl) {
|
if (!artifactRawUrl) {
|
||||||
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
|
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user