initial commit
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Sthope 2021-09-04 02:27:01 +02:00
parent d325b0dd3c
commit b2c1c02195

View File

@ -34,33 +34,33 @@ steps:
status:
- success
# - name: discord
# pull: always
# image: appleboy/drone-discord
# avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
# environment:
# DISCORD_WEBHOOK_ID:
# from_secret: discord_webhook_id
# DISCORD_WEBHOOK_TOKEN:
# from_secret: discord_webhook_token
# settings:
# message: >
# {{#success build.status}}
# ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
- name: discord
pull: always
image: appleboy/drone-discord
avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
settings:
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:
# event: