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