- Store
action.yml
into.github/actions/debugviassh/action.yml
- Add your ngrok.com token in an env var
NGROK_TOKEN
- Add your public ssh key in another env var
SSH_PUBLIC_KEY
- Add the action call in your workflow where you want to stop and get ssh access
- Find host/port to connect in https://dashboard.ngrok.com/cloud-edge/endpoints
- ssh -l runner -p $ngrok_port $ngrok_host
note: