diff --git a/package.json b/package.json index 68dcfe6..d715dc4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/easingthemes/ssh-deploy.git" + "url": "git+https://github.com/ximplez/ssh-deploy.git" }, "keywords": [ "deploy", @@ -26,9 +26,9 @@ "author": "Dragan Filipovic", "license": "MIT", "bugs": { - "url": "https://github.com/easingthemes/ssh-deploy/issues" + "url": "https://github.com/ximplez/ssh-deploy/issues" }, - "homepage": "https://github.com/easingthemes/ssh-deploy#readme", + "homepage": "https://github.com/ximplez/ssh-deploy#readme", "dependencies": { "rsyncwrapper": "^3.0.1" }, diff --git a/src/index.js b/src/index.js index 7266355..2aaa678 100644 --- a/src/index.js +++ b/src/index.js @@ -4,8 +4,10 @@ const { remoteCmdBefore, remoteCmdAfter } = require('./remoteCmd'); const { addSshKey, getPrivateKeyPath, updateKnownHosts } = require('./sshKey'); const { validateRequiredInputs } = require('./helpers'); const inputs = require('./inputs'); +const { initConfig } = require('./config'); const run = async () => { + initConfig(); const { source, remoteUser, remoteHost, remotePort, deployKeyName, sshPrivateKey,