easingthemes / ssh-deploy

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

Would be nice to be able to configure behavior when remote cmd fails #114

Closed sebastianblesgen closed 1 year ago

sebastianblesgen commented 1 year ago

The step/job does not failed but I had this error (my fault as we do not use the standard 22 port)

I expected the step to fail. Somme actions actually allows to define what should happen in such case specifying a onFail property (with possible values: error,warning,....)

[CMD] Remote script failed: Command failed: DEBIAN_FRONTEND=noninteractive ssh -p 22 -i /home/runner/.ssh/deploy_key_github_1675949673589 -o StrictHostKeyChecking=no github@ 'RSYNC_STDOUT="undefined" bash -s' < local_ssh_script-before.sh ssh: connect to host port 22: Connection timed out

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.