CI/CD: Ajustado pausas no Deploy
Some checks failed
Deploy WiFi-ETL Prod / deploy (push) Failing after 0s
Some checks failed
Deploy WiFi-ETL Prod / deploy (push) Failing after 0s
This commit is contained in:
parent
f277c318b4
commit
0c59ee7e0f
@ -25,6 +25,7 @@ jobs:
|
||||
|
||||
- name: Copiar .env
|
||||
run: |
|
||||
set -e
|
||||
cp /home/desenvolvimento/.envs/wifi_etl/.env /opt/wifi-etl/.env
|
||||
echo "✓ .env copiado"
|
||||
|
||||
@ -46,6 +47,7 @@ jobs:
|
||||
|
||||
- name: Validar saúde - Database
|
||||
run: |
|
||||
set -e
|
||||
docker exec wifi_etl_worker python3 << 'PYEOF'
|
||||
import psycopg2, os, sys
|
||||
try:
|
||||
@ -66,4 +68,5 @@ jobs:
|
||||
- name: Verificar logs iniciais
|
||||
if: always()
|
||||
run: |
|
||||
set -e
|
||||
docker logs --tail 20 wifi_etl_worker || true
|
||||
Loading…
Reference in New Issue
Block a user