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