fix: add debug option for SSH remote shell wrapper to assist with troubleshooting

This commit is contained in:
Karolis2011 2025-11-20 01:19:48 +02:00
parent 5ca29a1899
commit 4861d65a3c
3 changed files with 64 additions and 6 deletions

View file

@ -19,6 +19,10 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-host: ${{ secrets.SSH_HOST }}
ssh-user: ${{ secrets.SSH_USER }}
# Try turning on the shell wrapper debug if the job succeeds but
# produces no visible output. This will print the temp script and
# its contents to the step log.
debug-shell-wrapper: 'true'
- name: Check system info
shell: ssh-remote {0}