ci: add prod and dev deployment workflows
Deploy Development / deploy (push) Successful in 55s
Build Test / build-frontend (push) Failing after 2s
Build Test / lint-backend (push) Failing after 1s

This commit is contained in:
Lars committed 2026-03-17 12:53:32 +01:00
1 parent 5091dfd1ce
commit b409a22322
3 files changed
+42 -38

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
name: Deploy Development
on:
push:
branches: [develop]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to Development
run: |
set -e
echo "=== Deploying to DEVELOPMENT ==="
cd /home/lars/docker/bodytrack-dev
git pull origin develop
docker compose build --no-cache
docker compose up -d
sleep 5
curl -sf http://localhost:8099/api/auth/status && echo "? DEV API healthy"
echo "=== DEV Deploy complete ==="