From 1a6f86cece54fccd7b805d6aa28188bac74528c9 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 29 Sep 2019 10:53:17 +0800 Subject: [PATCH] chore: support multiple command --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a214dc7..0823607 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,3 +23,14 @@ jobs: key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} 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