ci: atualiza pipeline com remoção forçada dos containers
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2025-07-28 14:15:14 -03:00
parent 321b88b5d1
commit fb4e0ad8b9

View File

@@ -1,3 +1,4 @@
---
kind: pipeline kind: pipeline
type: docker type: docker
name: homolog name: homolog
@@ -26,12 +27,11 @@ steps:
password: F6tC5tCh29XQRpzp password: F6tC5tCh29XQRpzp
port: 22 port: 22
script: script:
- docker rm -f FaturasHomolog || true
- cd /home/app_fatura_homolog - cd /home/app_fatura_homolog
- docker compose down --remove-orphans
- docker compose up -d - docker compose up -d
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: production name: production
@@ -60,9 +60,7 @@ steps:
password: F6tC5tCh29XQRpzp password: F6tC5tCh29XQRpzp
port: 22 port: 22
script: script:
- docker rm -f Faturas || true
- cd /home/app_fatura - cd /home/app_fatura
- docker compose down --remove-orphans
- docker compose up -d - docker compose up -d
# trigger test for production