ci: fix workflows - prod deploys to bodytrack/, dev to bodytrack-dev/
All checks were successful
Deploy Development / deploy (push) Successful in 1m9s
Deploy Production / deploy (push) Successful in 51s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s

This commit is contained in:
Lars Stommer 2026-03-17 13:11:53 +01:00
parent eadc0ea39c
commit 4a6dc37854
2 changed files with 6 additions and 6 deletions

View File

@ -14,8 +14,8 @@ jobs:
echo "=== Deploying to DEVELOPMENT ==="
cd /home/lars/docker/bodytrack-dev
git pull origin develop
docker compose build --no-cache
docker compose up -d
docker compose -f docker-compose.dev-env.yml build --no-cache
docker compose -f docker-compose.dev-env.yml up -d
sleep 5
curl -sf http://localhost:8099/api/auth/status && echo "? DEV API healthy"
curl -sf http://localhost:8099/api/auth/status && echo " DEV API healthy"
echo "=== DEV Deploy complete ==="

View File

@ -14,8 +14,8 @@ jobs:
echo "=== Deploying to PRODUCTION ==="
cd /home/lars/docker/bodytrack
git pull origin main
docker compose build --no-cache
docker compose up -d
docker compose -f docker-compose.yml build --no-cache
docker compose -f docker-compose.yml up -d
sleep 5
curl -sf http://localhost:8002/api/auth/status && echo "? API healthy"
curl -sf http://localhost:8002/api/auth/status && echo "✓ PROD API healthy"
echo "=== PROD Deploy complete ==="