mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +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'))
|
||||
this.timeout = timeoutInput <= 0 ? maxTimeout : Math.min(timeoutInput, maxTimeout)
|
||||
this.timeout = (!timeoutInput || timeoutInput <= 0) ? maxTimeout : Math.min(timeoutInput, maxTimeout)
|
||||
|
||||
try {
|
||||
core.debug(`Actor: ${this.buildActor}`)
|
||||
|
||||
Reference in New Issue
Block a user