github-action-ssh
github-action-ssh copied to clipboard
Multiple commands
I have checked closed issue Multiple discussing execute multiple commands by break line but seems like it doesn't work for me
- name: connect to ssh shoutout
uses: garygrossgarten/[email protected]
with:
host: ${{ matrix.server }}
username: ${{ matrix.user }}
privateKey: ${{ secrets.KEY}}
command: |
echo "Testing"
echo "DD"
ipconfig
it only returns "Testing"
am i doing something wrong here? help plz
+1