Create dtfbstage.yml

This commit is contained in:
Stefan Wendhausen
2024-08-06 20:21:04 +02:00
committed by GitHub
parent 6995e87fe3
commit c89ce6cba0
+23
View File
@@ -0,0 +1,23 @@
name: Deploy dev branch to stage.dtfb.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
path: src/structure/
remote_path: ${{ secrets.DTFB_STAGE_PATH }}
remote_host: ${{ secrets.DTFB_STAGE_HOST }}
remote_port: ${{ secrets.DTFB_STAGE_PORT }}
remote_user: ${{ secrets.DTFB_STAGE_USER }}
remote_key: ${{ secrets.DTFB_STAGE_KEY }}