This commit is contained in:
parent
08cd163a1c
commit
4fc9dc5bba
33
.drone.yml
33
.drone.yml
@ -26,23 +26,24 @@ steps:
|
||||
DISCORD_WEBHOOK_TOKEN:
|
||||
from_secret: discord_webhook_token
|
||||
settings:
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
|
||||
message_file: drone-discord-msg.tpl
|
||||
# message: >
|
||||
# {{#success build.status}}
|
||||
# ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
|
||||
|
||||
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||
```
|
||||
{{commit.message}}
|
||||
```
|
||||
🌐 <{{ build.link }}>
|
||||
{{else}}
|
||||
❌ Build #{{build.number}} of `{{repo.name}}` failed.
|
||||
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||
```
|
||||
{{commit.message}}
|
||||
```
|
||||
🌐 <{{ build.link }}>
|
||||
{{/success}}
|
||||
# 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||
# ```
|
||||
# {{commit.message}}
|
||||
# ```
|
||||
# 🌐 <{{ build.link }}>
|
||||
# {{else}}
|
||||
# ❌ Build #{{build.number}} of `{{repo.name}}` failed.
|
||||
# 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||
# ```
|
||||
# {{commit.message}}
|
||||
# ```
|
||||
# 🌐 <{{ build.link }}>
|
||||
# {{/success}}
|
||||
|
||||
|
||||
# when:
|
||||
|
Loading…
x
Reference in New Issue
Block a user