mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Create dtfbprod.yml
This commit is contained in:
committed by
GitHub
parent
a9b088dcda
commit
405f030364
@@ -0,0 +1,23 @@
|
|||||||
|
name: Deploy production branch to dtfb.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.DTFB_PROD_PATH }}
|
||||||
|
remote_host: ${{ secrets.DTFB_PROD_HOST }}
|
||||||
|
remote_port: ${{ secrets.DTFB_PROD_PORT }}
|
||||||
|
remote_user: ${{ secrets.DTFB_PROD_USER }}
|
||||||
|
remote_key: ${{ secrets.DTFB_PROD_KEY }}
|
||||||
|
|
||||||
Reference in New Issue
Block a user