ci: atualiza pipeline com remoção forçada dos containers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user