fix ci
Deploy repository / deploy (push) Has been cancelled

This commit is contained in:
2026-06-11 17:22:01 +02:00
parent 9f64bb51a8
commit 59ff9b5f87
+8 -8
View File
@@ -1,4 +1,4 @@
name: Sync repository
name: Deploy repository
on:
push:
@@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
sync:
deploy:
runs-on: rezeptfinder-runner
steps:
@@ -19,14 +19,14 @@ jobs:
rsync -a --delete \
--exclude .git \
--exclude .gitea \
--exclude .env \
--exclude venv \
--exclude .venv \
--exclude node_modules \
./ /opt/rezept_finder/
deploy_backend:
runs-on: rezeptfinder-runner
steps:
- name: Prepare Python venv
- name: Prepare Python venv
run: |
python3 -m venv /opt/rezept_finder/venv || true
/opt/rezept_finder/venv/bin/pip install --upgrade pip
/opt/rezept_finder/venv/bin/pip install -r /opt/rezept_finder/backend/requirements.txt
/opt/rezept_finder/venv/bin/pip install -r /opt/rezept_finder/backend/requirements.txt