diff --git a/deploy/deploy-test-server.sh b/deploy/deploy-test-server.sh index 6b0a084..118dc4c 100755 --- a/deploy/deploy-test-server.sh +++ b/deploy/deploy-test-server.sh @@ -144,7 +144,7 @@ run_left4me_with_env env \ JOB_WORKER_ENABLED=false \ /opt/left4me/.venv/bin/python -c "from l4d2web.app import create_app; create_app()" -run_as_left4me sh -c "cd /opt/left4me/l4d2web && env \ +run_as_left4me sh -c "cd /opt/left4me/l4d2web && set -a; . /etc/left4me/host.env; . /etc/left4me/web.env; set +a; env \ JOB_WORKER_ENABLED=false \ PYTHONPATH=/opt/left4me \ /opt/left4me/.venv/bin/alembic -c /opt/left4me/l4d2web/alembic.ini upgrade head"