From 2f428a70b26da03c09259d423940c9deed125e30 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 9 Dec 2023 13:58:29 +0530 Subject: [PATCH] Test --- .github/workflows/deploy-api.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index e4d05ca..88d6a9e 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -1,20 +1,15 @@ name: Pull changes and deploy API - on: [push] - jobs: build: - + name: Pull changes and deploy API runs-on: self-hosted - steps: - - uses: actions/checkout@v1 - - - name: Executing remote command - uses: appleboy/ssh-action@master + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@v1.0.0 with: host: ${{ secrets.HOST }} - USERNAME: ${{ secrets.USERNAME }} - PORT: ${{ secrets.PORT }} - KEY: ${{ secrets.SSHKEY }} - script: ls \ No newline at end of file + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + script: whoami \ No newline at end of file