mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2026-03-01 08:01:01 +08:00
fix index.js
This commit is contained in:
parent
75d0d72c8c
commit
1177658fa0
@ -4,10 +4,8 @@ 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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user