new ci step for backend
This commit is contained in:
@@ -20,3 +20,13 @@ jobs:
|
|||||||
--exclude .git \
|
--exclude .git \
|
||||||
--exclude .gitea \
|
--exclude .gitea \
|
||||||
./ /opt/rezept_finder/
|
./ /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
|
||||||
@@ -5,3 +5,5 @@ Flask-Migrate==4.0.7
|
|||||||
psycopg2-binary==2.9.9
|
psycopg2-binary==2.9.9
|
||||||
python-dotenv==1.0.1
|
python-dotenv==1.0.1
|
||||||
eventlet==0.36.1
|
eventlet==0.36.1
|
||||||
|
gunicorn
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user