23 lines
393 B
YAML
23 lines
393 B
YAML
name: Sync repository
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: rezeptfinder_runner
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Sync to /opt/rezept_finder
|
|
run: |
|
|
rsync -a --delete \
|
|
--exclude .git \
|
|
--exclude .gitea \
|
|
./ /opt/rezept_finder/
|