From 9f64bb51a81ff4bc042b5856d96c393572beaa2c Mon Sep 17 00:00:00 2001 From: Winz Date: Thu, 11 Jun 2026 17:18:07 +0200 Subject: [PATCH] new ci step for backend --- .gitea/workflows/runner.yml | 10 ++++++++++ backend/requirements.txt | 2 ++ 2 files changed, 12 insertions(+) diff --git a/.gitea/workflows/runner.yml b/.gitea/workflows/runner.yml index b8a8173..a2e5e3c 100644 --- a/.gitea/workflows/runner.yml +++ b/.gitea/workflows/runner.yml @@ -20,3 +20,13 @@ jobs: --exclude .git \ --exclude .gitea \ ./ /opt/rezept_finder/ + + deploy_backend: + runs-on: rezeptfinder-runner + + steps: + - 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 \ No newline at end of file diff --git a/backend/requirements.txt b/backend/requirements.txt index af76889..bfb4bdb 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -5,3 +5,5 @@ Flask-Migrate==4.0.7 psycopg2-binary==2.9.9 python-dotenv==1.0.1 eventlet==0.36.1 +gunicorn +