From 27919f3712278638ad63f50798d09fae7a2ed971 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 9 Dec 2023 15:48:37 +0530 Subject: [PATCH] test --- .github/workflows/deploy-api.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 88d6a9e..e81aeb4 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -5,11 +5,13 @@ jobs: name: Pull changes and deploy API runs-on: self-hosted steps: - - name: executing remote ssh commands using password + - name: multiple command uses: appleboy/ssh-action@v1.0.0 with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} + key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} - script: whoami \ No newline at end of file + script: | + whoami + ls -al \ No newline at end of file