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