chore: support multiple command

This commit is contained in:
Bo-Yi Wu 2019-09-29 10:53:17 +08:00
parent 917a1df2a4
commit 1a6f86cece
1 changed files with 11 additions and 0 deletions

View File

@ -23,3 +23,14 @@ jobs:
key: ${{ secrets.KEY }} key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }} port: ${{ secrets.PORT }}
script: whoami script: whoami
- name: multiple command
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: >
whoami
ls -al