From fb4e0ad8b9592e859d674ced9439529997fa9cb6 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jul 2025 14:15:14 -0300 Subject: [PATCH] =?UTF-8?q?ci:=20atualiza=20pipeline=20com=20remo=C3=A7?= =?UTF-8?q?=C3=A3o=20for=C3=A7ada=20dos=20containers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9d9e755..423064c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,4 @@ +--- kind: pipeline type: docker name: homolog @@ -26,12 +27,11 @@ steps: password: F6tC5tCh29XQRpzp port: 22 script: + - docker rm -f FaturasHomolog || true - cd /home/app_fatura_homolog - - docker compose down --remove-orphans - docker compose up -d --- - kind: pipeline type: docker name: production @@ -60,9 +60,7 @@ steps: password: F6tC5tCh29XQRpzp port: 22 script: + - docker rm -f Faturas || true - cd /home/app_fatura - - docker compose down --remove-orphans - docker compose up -d -# trigger test for production -