appleboy / scp-action

GitHub Action that copy files and artifacts via SSH.
https://github.com/marketplace/actions/scp-command-to-transfer-files
MIT License
1.14k stars 134 forks source link

Missing - script in action #114

Closed devops-saffranlabs closed 1 year ago

devops-saffranlabs commented 1 year ago

We are facing issue after last update on action. please let me know what i can do other then "script" ?

Warning: Unexpected input(s) 'script', valid inputs are ['entryPoint', 'args', 'host', 'port', 'username', 'password', 'timeout', 'command_timeout', 'key', 'key_path', 'passphrase', 'fingerprint', 'use_insecure_cipher', 'target', 'source', 'rm', 'debug', 'strip_components', 'overwrite', 'tar_tmp_path', 'proxy_host', 'proxy_port', 'proxy_username', 'proxy_password', 'proxy_passphrase', 'proxy_timeout', 'proxy_key', 'proxy_key_path', 'proxy_fingerprint', 'proxy_use_insecure_cipher']

devops-saffranlabs commented 1 year ago

its belong to ssh-action...

and its giving error at the end. Error: can't connect without a private SSH key or password

devops-saffranlabs commented 1 year ago

v0.1.3 have perfectly working with ssh_key but v0.1.4 not working with ssh_key for scp-action.

mbcodepl commented 1 year ago

I have the same issue with master branch. v0.1.4 is working fine for me.

appleboy commented 1 year ago

@mbcodepl @devops-saffranlabs Please post your config. I refactor the env variable in the master version. Thanks.

appleboy commented 1 year ago

See the documentation

image

scp-action and ssh-action doesn't support ssh_key parameter

appleboy commented 1 year ago

Please post your question to ssh-action issue list.

devops-saffranlabs commented 1 year ago

That is my actions i have used 0.1.3 then it works but not work on master neither on 0.1.4