Support running commands from a file

This commit is contained in:
Kyle Leonhard 2024-10-23 18:58:10 -07:00
parent 8b84eaec3a
commit 644b4b43b0
4 changed files with 29 additions and 0 deletions

View file

@ -42,6 +42,15 @@ jobs:
set -e
whoami
- name: ssh commands from a file
uses: ./
with:
host: ${{ env.REMOTE_HOST }}
username: linuxserver.io
password: password
port: 2222
script_path: testdata/test.sh
check-ssh-key:
runs-on: ubuntu-latest
steps: