diff --git a/.github/workflows/kickernprod.yml b/.github/workflows/kickernprod.yml new file mode 100644 index 0000000..27aa304 --- /dev/null +++ b/.github/workflows/kickernprod.yml @@ -0,0 +1,23 @@ +name: Deploy production branch to kickern-hamburg.de +on: + push: + branches: ['production'] + paths: ['src/structure/**'] + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: rsync deployments + uses: burnett01/rsync-deployments@7.0.1 + with: + switches: -avzr + path: src/structure/ + remote_path: ${{ secrets.KICKERN_PROD_PATH }} + remote_host: ${{ secrets.KICKERN_PROD_HOST }} + remote_port: ${{ secrets.KICKERN_PROD_PORT }} + remote_user: ${{ secrets.KICKERN_PROD_USER }} + remote_key: ${{ secrets.KICKERN_PROD_KEY }} +