From ac54b2db0d28c38c1840b454c2496d481f0768f1 Mon Sep 17 00:00:00 2001 From: EncryptEx Date: Fri, 9 Feb 2024 13:39:49 +0100 Subject: [PATCH] Added workflow --- .github/workflows/backendTest.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/backendTest.yml diff --git a/.github/workflows/backendTest.yml b/.github/workflows/backendTest.yml new file mode 100644 index 00000000..5b5f62c0 --- /dev/null +++ b/.github/workflows/backendTest.yml @@ -0,0 +1,23 @@ +name: Deploy on BackendTest + +on: + push: + branches: + - 'develop' + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Git pull and rebuild docker + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + port: ${{ secrets.PORT }} + key: ${{ secrets.SSHKEY }} + script: ${{ secrets.SCRIPT }}