diff --git a/dist/index.js b/dist/index.js index cfb540f..d59ff27 100755 --- a/dist/index.js +++ b/dist/index.js @@ -480,7 +480,9 @@ const commandExists = __webpack_require__(677); const nodeCmd = __webpack_require__(428); const nodeRsync = __webpack_require__(250); -const { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; +const vars = { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; + +console.log(vars); const sshDeploy = (() => { const rsync = ({ privateKey, port, src, dest, args }) => { diff --git a/src/index.js b/src/index.js index 8916c2b..c5cdc5b 100644 --- a/src/index.js +++ b/src/index.js @@ -5,7 +5,9 @@ const commandExists = require('command-exists'); const nodeCmd = require('node-cmd'); const nodeRsync = require('rsyncwrapper'); -const { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; +const vars = { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; + +console.log(vars); const sshDeploy = (() => { const rsync = ({ privateKey, port, src, dest, args }) => {