Create kickernstage.yml

This commit is contained in:
Stefan Wendhausen
2024-08-06 19:42:13 +02:00
committed by GitHub
parent a41115819e
commit 08d093915d
+23
View File
@@ -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 }}