update index.js

This commit is contained in:
xmz 2024-04-19 14:28:28 +08:00
parent fbc057e240
commit d30b9dd052
2 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/easingthemes/ssh-deploy.git" "url": "git+https://github.com/ximplez/ssh-deploy.git"
}, },
"keywords": [ "keywords": [
"deploy", "deploy",
@ -26,9 +26,9 @@
"author": "Dragan Filipovic", "author": "Dragan Filipovic",
"license": "MIT", "license": "MIT",
"bugs": { "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": { "dependencies": {
"rsyncwrapper": "^3.0.1" "rsyncwrapper": "^3.0.1"
}, },

View File

@ -4,8 +4,10 @@ const { remoteCmdBefore, remoteCmdAfter } = require('./remoteCmd');
const { addSshKey, getPrivateKeyPath, updateKnownHosts } = require('./sshKey'); const { addSshKey, getPrivateKeyPath, updateKnownHosts } = require('./sshKey');
const { validateRequiredInputs } = require('./helpers'); const { validateRequiredInputs } = require('./helpers');
const inputs = require('./inputs'); const inputs = require('./inputs');
const { initConfig } = require('./config');
const run = async () => { const run = async () => {
initConfig();
const { const {
source, remoteUser, remoteHost, remotePort, source, remoteUser, remoteHost, remotePort,
deployKeyName, sshPrivateKey, deployKeyName, sshPrivateKey,