From b485ad1fdeae54622dfb0e3f2cb9fbf3a52401a1 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 16 Dec 2023 15:02:01 +0530 Subject: [PATCH] Update deploy-api.yml --- .github/workflows/deploy-api.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 58b2cf1..f597729 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -1,18 +1,16 @@ name: Pull changes and deploy API on: [push] - jobs: + build: - name: Pull changes and deploy API + name: Build runs-on: self-hosted steps: - - name: multiple command + - name: Executing remote command uses: appleboy/ssh-action@v1.0.0 with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - key: ${{ secrets.KEY }} + password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} - script: | - whoami - ls -al \ No newline at end of file + script: whoami