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

command_timeout doesn't work? #166

Open lesnoyleshyi opened 4 months ago

lesnoyleshyi commented 4 months ago

Hi! Thanks for your action. We are using it for about two years. From time to time we face an unexpected behaviour: scp action lasts more than hour to copy files when it's normally takes for about 2-3 minutes to do it. Size of our files is stable, it's about 350-400 Mb. This problem is always solved by rerun of the github workflow. But the question is about command_timeout parameter. If it doesn't interrupt action after specified time, what it's intended for?

Screenshot 2024-02-07 at 14 06 00
vladelleus commented 3 months ago

Hi! I have the same problem, for some technical reasons the server where the application should be deployed was not working and the workflow was triggered due to some changes from devs. As a result the scp just stuck for 50 minutes in the copying state: image

appleboy commented 3 months ago

I will take it.