From 08d093915d991a2c03f82e707b18b88eebc37291 Mon Sep 17 00:00:00 2001 From: Stefan Wendhausen Date: Tue, 6 Aug 2024 19:42:13 +0200 Subject: [PATCH] Create kickernstage.yml --- .github/workflows/kickernstage.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/kickernstage.yml diff --git a/.github/workflows/kickernstage.yml b/.github/workflows/kickernstage.yml new file mode 100644 index 0000000..fe13fd1 --- /dev/null +++ b/.github/workflows/kickernstage.yml @@ -0,0 +1,23 @@ +name: Deploy dev branch to stage.kickern-hamburg.de +on: + push: + branches: ['dev'] + 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 --delete + path: src/ + remote_path: ${{ secrets.KICKERN_STAGE_PATH }} + remote_host: ${{ secrets.KICKERN_STAGE_HOST }} + remote_port: ${{ secrets.KICKERN_STAGE_PORT }} + remote_user: ${{ secrets.KICKERN_STAGE_USER }} + remote_key: ${{ secrets.KICKERN_STAGE_KEY }} +