@@ -0,0 +1,22 @@
|
||||
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/
|
||||
Reference in New Issue
Block a user