Skip to content

Commit

Permalink
Increases timeout and retries for (hopefully) more reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleLincoln committed Aug 1, 2021
1 parent efbec5b commit a6c117b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ sftp
port,
username,
password,
readyTimeout: 5000,
retries: 5,
})
.then(() => {
core.info(`connected \n uploading ${sourceDir} to ${targetDir}...`)
Expand Down

0 comments on commit a6c117b

Please sign in to comment.