mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-04-28 19:00:44 -04:00
Set ssh to false
This commit is contained in:
parent
c28aa7215e
commit
3f84fa4ae1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const sshDeploy = (() => {
|
|||
|
||||
try {
|
||||
// RSYNC COMMAND
|
||||
nodeRsync({ src, dest, args, privateKey, ssh: true, port, sshCmdArgs: ['-o StrictHostKeyChecking=no'], recursive: true }, (error, stdout, stderr, cmd) => {
|
||||
nodeRsync({ src, dest, args, privateKey, ssh: false, port, sshCmdArgs: ['-o StrictHostKeyChecking=no'], recursive: true }, (error, stdout, stderr, cmd) => {
|
||||
if (error) {
|
||||
console.error('⚠️ Rsync error', error.message);
|
||||
process.abort();
|
||||
|
|
Loading…
Add table
Reference in a new issue