correo formal
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
MSI\migue 2025-04-25 17:29:57 -04:00
parent 022969fffe
commit afc5091806

View File

@ -96,12 +96,43 @@ steps:
subject: "Resultado del pipeline: ${DRONE_BUILD_STATUS}" subject: "Resultado del pipeline: ${DRONE_BUILD_STATUS}"
skip_verify: true skip_verify: true
body: | body: |
Pipeline: ${DRONE_REPO_NAME} <html>
Estado: ${DRONE_BUILD_STATUS} <body style="font-family: Arial, sans-serif; color: #333; background-color: #f9f9f9; padding: 20px;">
Commit: ${DRONE_COMMIT} <div style="background: #ffffff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1);">
Autor: ${DRONE_COMMIT_AUTHOR} <h2 style="color: #2c3e50;">🚀 Resultado del Pipeline</h2>
Revisión: ${DRONE_COMMIT_SHA} <table style="width: 100%; border-collapse: collapse; margin-top: 20px;">
URL: ${DRONE_BUILD_LINK} <tr>
<td style="font-weight: bold; padding: 8px; border-bottom: 1px solid #ddd;">Pipeline</td>
<td style="padding: 8px; border-bottom: 1px solid #ddd;">${DRONE_REPO_NAME}</td>
</tr>
<tr>
<td style="font-weight: bold; padding: 8px; border-bottom: 1px solid #ddd;">Estado</td>
<td style="padding: 8px; border-bottom: 1px solid #ddd;">${DRONE_BUILD_STATUS}</td>
</tr>
<tr>
<td style="font-weight: bold; padding: 8px; border-bottom: 1px solid #ddd;">Commit</td>
<td style="padding: 8px; border-bottom: 1px solid #ddd;">${DRONE_COMMIT}</td>
</tr>
<tr>
<td style="font-weight: bold; padding: 8px; border-bottom: 1px solid #ddd;">Autor</td>
<td style="padding: 8px; border-bottom: 1px solid #ddd;">${DRONE_COMMIT_AUTHOR}</td>
</tr>
<tr>
<td style="font-weight: bold; padding: 8px; border-bottom: 1px solid #ddd;">Revisión</td>
<td style="padding: 8px; border-bottom: 1px solid #ddd;">${DRONE_COMMIT_SHA}</td>
</tr>
</table>
<div style="margin-top: 30px; text-align: center;">
<a href="${DRONE_BUILD_LINK}" style="display: inline-block; padding: 10px 20px; background-color: #3498db; color: white; text-decoration: none; border-radius: 5px;">
Ver Detalles del Pipeline
</a>
</div>
<p style="font-size: 12px; color: #777; margin-top: 20px;">Este es un correo automático generado por el sistema de CI/CD.</p>
</div>
</body>
</html>
when: when:
status: status:
- success - success