easingthemes / ssh-deploy

GitHub Action for deploying code via rsync over ssh. (with NodeJS)
MIT License
1.17k stars 144 forks source link

Error reading inputs SSH privates. #120

Closed elysitcs closed 1 year ago

elysitcs commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'split') at /home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:4556 at Array.forEach () at Object.229 (/home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:4319) at nccwpck_require (/home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:8839) at Object.976 (/home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:4805) at nccwpck_require (/home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:8839) at /home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:9105 at /home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:9826 at Object. (/home/runner/work/_actions/easingthemes/ssh-deploy/main/dist/index.js:2:9847) at Module._compile (node:internal/modules/cjs/loader:1105:14)

easingthemes commented 1 year ago

Bug should be fixed, check with @ main or v4.1.5 https://github.com/easingthemes/ssh-deploy/issues/118

williamspencer commented 1 year ago

Bug should be fixed, check with @ main or v4.1.5 #118

unfortunately still seeing this error, trying both @main and @v4.1.5

TypeError: Cannot read properties of undefined (reading 'split') at /home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:4556 at Array.forEach () at Object.229 (/home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:4319) at nccwpck_require (/home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:8874) at Object.976 (/home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:4805) at nccwpck_require (/home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:8874) at /home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:9140 at /home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:9861 at Object. (/home/runner/work/_actions/easingthemes/ssh-deploy/v4.1.5/dist/index.js:2:9882) at Module._compile (node:internal/modules/cjs/loader:1105:14)

elysitcs commented 1 year ago

It's still raising the same error.

easingthemes commented 1 year ago

New update released, main branch or v.4.1.6.

williamspencer commented 1 year ago

New update released, main branch or v.4.1.6.

confirmed working on my end pointing to @main - thank you!

easingthemes commented 1 year ago

Great, thanks.

GiantBabyCorn commented 1 year ago

Similar issue here, Files' transferring is actually failed, while the workflow shows pass ( with an undetected error message: Cannot read properties of undefined (reading 'substring') ).

version: v4.1.6

[FILE] writing ***/local_ssh_script-before.sh file ... 25
Cannot read properties of undefined (reading 'substring')

image