fix(ci): force remove old container before deploy
Some checks failed
Deploy to Production / deploy (push) Failing after 7s
Some checks failed
Deploy to Production / deploy (push) Failing after 7s
This commit is contained in:
@@ -15,4 +15,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and deploy with Docker Compose
|
- name: Build and deploy with Docker Compose
|
||||||
run: |
|
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
|
||||||
Reference in New Issue
Block a user