feature/drone-discord-webhooks #7

Merged
t3hn3rd merged 5 commits from feature/drone-discord-webhooks into develop 2025-03-23 15:21:59 +00:00
Showing only changes of commit e64a59714a - Show all commits

View File

@ -53,6 +53,8 @@ steps:
- name: msg status - name: msg status
image: appleboy/drone-discord image: appleboy/drone-discord
depends_on:
- compile
when: when:
status: [success, failure, changed] status: [success, failure, changed]
settings: settings:
@ -61,14 +63,17 @@ steps:
webhook_token: webhook_token:
from_secret: discord_webhook_secret from_secret: discord_webhook_secret
message: > message: >
**Drone CI - Asuro Build** **Drone CI - Asuro Build**\n
{{#success build.status}} {{#success build.status}}
✅ Build successful! ✅ Build successful!\n
{{else}} {{else}}
❌ Build failed! ❌ Build failed!\n
{{/success}} {{/success}}
Repository: `[{{repo.namespace}}/{{repo.name}}]` Repository: `{{repo.namespace}}/{{repo.name}}`\n
Branch: {{build.branch}} Branch: `{{commit.branch}}`\n
Commit: {{build.commit}} Commit: `{{commit.sha}} ({{commit.link}})`\n
Author: `[{{commit.author}} / {{commit.email}}]` Author: `{{commit.author}} <{{commit.email}}>`\n
Message: {{commit.message}} Message:
```\n
{{commit.message}}\n
```