Modificar .gitea/workflows/deploy.yaml
fix: smoke test do deploy no container correto
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user