From 596282130525440affb65276d84eb05d94988975 Mon Sep 17 00:00:00 2001 From: pm Date: Fri, 8 May 2026 10:03:03 +0000 Subject: [PATCH] Modificar .gitea/workflows/deploy.yaml fix: smoke test do deploy no container correto --- .gitea/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 6f0c8dd..1c20c12 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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