fix: ajuste sintaxe na checagem HTTPS no deploy.sh

This commit is contained in:
Andre RDS
2026-11-26 14:37:47 -03:00
parent 23305c5b2a
commit 933eebc5e6
+4 -4
View File
@@ -110,11 +110,11 @@ EOF
# 5. Validação Externa (HTTPS Cloudflare)
echo -e "\n${YELLOW}🌐 Validando endpoint público HTTPS...${NC}"
HTTP_STATUS=\$(curl -s -o /dev/null -w "%{http_code}" https://table-watcher.rdsnexus.com/)
if [ "\$HTTP_STATUS" = "302" ] || [ "\$HTTP_STATUS" = "200" ]; then
echo -e "${GREEN}✓ Endpoint público HTTPS respondendo OK (HTTP \$HTTP_STATUS): https://table-watcher.rdsnexus.com${NC}"
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://table-watcher.rdsnexus.com/)
if [ "$HTTP_STATUS" = "302" ] || [ "$HTTP_STATUS" = "200" ]; then
echo -e "${GREEN}✓ Endpoint público HTTPS respondendo OK (HTTP $HTTP_STATUS): https://table-watcher.rdsnexus.com${NC}"
else
echo -e "${YELLOW}Aviso: Resposta HTTPS retornou HTTP \$HTTP_STATUS. Verifique o status do Cloudflared.${NC}"
echo -e "${YELLOW}Aviso: Resposta HTTPS retornou HTTP $HTTP_STATUS. Verifique o status do Cloudflared.${NC}"
fi
echo -e "\n${GREEN}=====================================================${NC}"