From b2601f09f3298ce6b4be9b99efe8b103bde74209 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 9 Dec 2023 11:51:59 +0530 Subject: [PATCH] Testing ci cd --- .github/workflows/deploy-api.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deploy-api.yml diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml new file mode 100644 index 0000000..e4d05ca --- /dev/null +++ b/.github/workflows/deploy-api.yml @@ -0,0 +1,20 @@ +name: Pull changes and deploy API + +on: [push] + +jobs: + build: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v1 + + - name: Executing remote command + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.HOST }} + USERNAME: ${{ secrets.USERNAME }} + PORT: ${{ secrets.PORT }} + KEY: ${{ secrets.SSHKEY }} + script: ls \ No newline at end of file