fix(ci): force remove old container before deploy
Some checks failed
Deploy to Production / deploy (push) Failing after 7s

This commit is contained in:
2026-02-12 22:12:51 +01:00
parent 2cd2291d03
commit 0799cb2162

View File

@@ -15,4 +15,9 @@ jobs:
- name: Build and deploy with Docker Compose
run: |
docker compose up -d --build
# Próba zatrzymania i usunięcia starego kontenera (ignoruje błąd jeśli nie istnieje)
docker compose down --remove-orphans || true
docker rm -f nonograms-app || true
# Start nowej wersji
docker compose up -d --build