I have a bash script (.sh file) on my Github runner that I want to be executed on a remote host via SSH. I see that I can pass discrete commands using ssh-action, but how can an entire file be executed?
This would be similar to ssh user@hostname < my-local-script.sh
I have a bash script (.sh file) on my Github runner that I want to be executed on a remote host via SSH. I see that I can pass discrete commands using ssh-action, but how can an entire file be executed?
This would be similar to
ssh user@hostname < my-local-script.sh