mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
Update src/internal/deployment.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
This commit is contained in:
@@ -55,7 +55,7 @@ class Deployment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let timeoutInput = Number(core.getInput('timeout'))
|
let timeoutInput = Number(core.getInput('timeout'))
|
||||||
this.timeout = timeoutInput <= 0 ? maxTimeout : Math.min(timeoutInput, maxTimeout)
|
this.timeout = (!timeoutInput || timeoutInput <= 0) ? maxTimeout : Math.min(timeoutInput, maxTimeout)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
core.debug(`Actor: ${this.buildActor}`)
|
core.debug(`Actor: ${this.buildActor}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user