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 }}