Let's say there are two machines A and B, I'm inside A machine which works as a self-hosted runner in the GitHub actions. If I use checkout action, it will checkout to Machine A, what if I want checkout to Machine B by ssh to Machine B without git clone or appleboy/ssh-action.
Example Workflow:
....
....
jobs:
test:
runs-on: self-hosted [Machine A]
steps:
- name: checkout
uses: actions/checkout@v2
#Which will checkout in A
- name: ssh
#lets say I ssh to remote Machine B
and able to run the commands inside the B how to do the
checkout in B other than git clone. Is it possible??