mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
info stack trace
This commit is contained in:
10
dist/index.js
vendored
10
dist/index.js
vendored
@@ -7513,12 +7513,18 @@ async function cancelHandler(evtOrExitCodeOrError) {
|
||||
}
|
||||
|
||||
async function main() {
|
||||
let idToken = ""
|
||||
try {
|
||||
idToken = await core.getIDToken()
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
console.log(JSON.stringify(error))
|
||||
return
|
||||
}
|
||||
try {
|
||||
const idToken = await core.getIDToken()
|
||||
await deployment.create(idToken)
|
||||
await deployment.check()
|
||||
} catch (error) {
|
||||
|
||||
core.setFailed(error)
|
||||
}
|
||||
}
|
||||
|
||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user