This commit is contained in:
parent
bb4b7d5e60
commit
1d084451ba
33
.drone.yml
33
.drone.yml
@ -37,22 +37,23 @@ steps:
|
|||||||
from_secret: discord_webhook_id
|
from_secret: discord_webhook_id
|
||||||
DISCORD_WEBHOOK_TOKEN:
|
DISCORD_WEBHOOK_TOKEN:
|
||||||
from_secret: discord_webhook_token
|
from_secret: discord_webhook_token
|
||||||
message: >
|
settings:
|
||||||
{{#success build.status}}
|
message: >
|
||||||
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
|
{{#success build.status}}
|
||||||
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
|
||||||
```
|
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||||
{{commit.message}}
|
```
|
||||||
```
|
{{commit.message}}
|
||||||
🌐 {{ build.link }}
|
```
|
||||||
{{else}}
|
🌐 {{ build.link }}
|
||||||
❌ Build #{{build.number}} of `{{repo.name}}` failed.
|
{{else}}
|
||||||
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
❌ Build #{{build.number}} of `{{repo.name}}` failed.
|
||||||
```
|
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||||
{{commit.message}}
|
```
|
||||||
```
|
{{commit.message}}
|
||||||
🌐 {{ build.link }}
|
```
|
||||||
{{/success}}
|
🌐 {{ build.link }}
|
||||||
|
{{/success}}
|
||||||
|
|
||||||
|
|
||||||
# when:
|
# when:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user