From a6c117bb60fdc94ab8e5b139cdb0b19bea582c81 Mon Sep 17 00:00:00 2001 From: Andrew Maney Date: Sun, 1 Aug 2021 02:06:05 -0700 Subject: [PATCH] Increases timeout and retries for (hopefully) more reliability --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 421fdbd..4897ed2 100644 --- a/index.js +++ b/index.js @@ -17,6 +17,8 @@ sftp port, username, password, + readyTimeout: 5000, + retries: 5, }) .then(() => { core.info(`connected \n uploading ${sourceDir} to ${targetDir}...`)