From 9c6b878b32f9e7ac272afea206a4acfa606cd9ca Mon Sep 17 00:00:00 2001 From: ImVector <59611597+LuigiImVector@users.noreply.github.com> Date: Sun, 22 Jan 2023 19:14:15 +0100 Subject: [PATCH] add auto deploy for VPS --- .github/workflows/auto-deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/auto-deploy.yml diff --git a/.github/workflows/auto-deploy.yml b/.github/workflows/auto-deploy.yml new file mode 100644 index 0000000..470d522 --- /dev/null +++ b/.github/workflows/auto-deploy.yml @@ -0,0 +1,24 @@ +# Auto update & deploy of the application on the VPS +name: auto-deploy + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: octokit/request-action@v2.x + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + route: GET http://167.172.107.45:3000/update/fpb/ +