Built src/index.js
This commit is contained in:
parent
3f84fa4ae1
commit
ff832e4e77
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -489,7 +489,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();
|
||||||
@ -615,7 +615,7 @@ const run = () => {
|
|||||||
sshDeploy.init({
|
sshDeploy.init({
|
||||||
src: GITHUB_WORKSPACE + '/' + SOURCE || '',
|
src: GITHUB_WORKSPACE + '/' + SOURCE || '',
|
||||||
dest: TARGET || '/home/' + REMOTE_USER + '/',
|
dest: TARGET || '/home/' + REMOTE_USER + '/',
|
||||||
args: [ARGS] || false,
|
args: ARGS ? [ARGS] : ['-rltgoDzvO'],
|
||||||
host: REMOTE_HOST,
|
host: REMOTE_HOST,
|
||||||
port: REMOTE_PORT || '22',
|
port: REMOTE_PORT || '22',
|
||||||
username: REMOTE_USER,
|
username: REMOTE_USER,
|
||||||
|
Loading…
Reference in New Issue
Block a user