fix: use env-*.env glob pattern for cleanup in all workflows
All checks were successful
Deploy Plattform-Core / test (push) Successful in 40s
Deploy Plattform-Core / deploy (push) Successful in 5s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ValueOn AG 2026-05-24 02:37:01 +02:00
parent c3530fe2aa
commit a59ee53e3c
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ jobs:
git reset --hard origin/int
test -f env-int.env
cp env-int.env .env
rm -f env-dev.env env-int.env env-prod.env
rm -f env-*.env
source .venv/bin/activate
pip install -r requirements.txt --no-cache-dir
python -m pytest tests/ --ignore=tests/demo
@ -51,7 +51,7 @@ jobs:
git reset --hard origin/int
test -f env-int.env
cp env-int.env .env
rm -f env-dev.env env-int.env env-prod.env
rm -f env-*.env
source .venv/bin/activate
pip install -r requirements.txt --no-cache-dir
sudo systemctl restart gateway

View file

@ -24,7 +24,7 @@ jobs:
git reset --hard origin/main
test -f env-prod.env
cp env-prod.env .env
rm -f env-dev.env env-int.env env-prod.env
rm -f env-*.env
source .venv/bin/activate
pip install -r requirements.txt --no-cache-dir
python -m pytest tests/ --ignore=tests/demo
@ -51,7 +51,7 @@ jobs:
git reset --hard origin/main
test -f env-prod.env
cp env-prod.env .env
rm -f env-dev.env env-int.env env-prod.env
rm -f env-*.env
source .venv/bin/activate
pip install -r requirements.txt --no-cache-dir
sudo systemctl restart gateway