From 8cd8d5815496fa3c92c00e7b3a9b4afe07877a12 Mon Sep 17 00:00:00 2001 From: "yu.wang" Date: Sun, 21 Aug 2022 15:31:59 +0800 Subject: [PATCH] remove log config --- .github/workflows/issue-8.yml | 2 +- dist/index.js | 2 -- sftp.cjs | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/issue-8.yml b/.github/workflows/issue-8.yml index 74ff789..1237088 100644 --- a/.github/workflows/issue-8.yml +++ b/.github/workflows/issue-8.yml @@ -34,5 +34,5 @@ jobs: privateKey: ${{ secrets.SERVER_KEY }} localDir: './test' remoteDir: '/root/test/' - dryRun: true + dryRun: false diff --git a/dist/index.js b/dist/index.js index 61000ab..f038717 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32541,8 +32541,6 @@ const options = { forceUpload: JSON.parse(core.getInput('forceUpload')) // Force uploading all files, Default to false(upload only newer files). }; -console.log('config->', config, options); - new Deployer(config, options) .sync() .then(() => console.log('sftp upload success!')); diff --git a/sftp.cjs b/sftp.cjs index 16960c5..a71f63e 100644 --- a/sftp.cjs +++ b/sftp.cjs @@ -19,8 +19,6 @@ const options = { forceUpload: JSON.parse(core.getInput('forceUpload')) // Force uploading all files, Default to false(upload only newer files). }; -console.log('config->', config, options); - new Deployer(config, options) .sync() .then(() => console.log('sftp upload success!'));