mirror of
https://github.com/easingthemes/ssh-deploy
synced 2025-01-15 12:20:58 +00:00
Set ssh to false
This commit is contained in:
parent
c28aa7215e
commit
3f84fa4ae1
@ -14,7 +14,7 @@ const sshDeploy = (() => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// RSYNC COMMAND
|
// 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) {
|
if (error) {
|
||||||
console.error('⚠️ Rsync error', error.message);
|
console.error('⚠️ Rsync error', error.message);
|
||||||
process.abort();
|
process.abort();
|
||||||
|
Loading…
Reference in New Issue
Block a user