Modificar .gitea/workflows/deploy.yaml

fix: smoke test do deploy no container correto
This commit is contained in:
pm
2026-05-08 10:03:03 +00:00
parent 40d26df97a
commit 5962821305
+2 -1
View File
@@ -54,7 +54,8 @@ jobs:
docker cp index.html website-test-backend:/usr/share/nginx/html/index.html
docker exec website-test-backend chown root:root /usr/share/nginx/html/index.html
docker exec website-test-backend chmod 444 /usr/share/nginx/html/index.html
curl --silent --show-error --fail http://localhost:80 || exit 1
# CORREÇÃO: Testar o acesso local por dentro do próprio container Nginx
docker exec website-test-backend curl --silent --show-error --fail http://localhost:80 || exit 1
# 4. AUDITORIA DE DEPLOY
- name: Slack/Discord Notification