initial commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sthope 2021-09-09 11:13:35 +02:00
parent 767413c4bd
commit 55e59c183f

View File

@ -34,33 +34,33 @@ steps:
status: status:
- success - success
- name: discord # - name: discord
pull: always # pull: always
image: appleboy/drone-discord # image: appleboy/drone-discord
avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png" # avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
environment: # environment:
DISCORD_WEBHOOK_ID: # DISCORD_WEBHOOK_ID:
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
settings: # settings:
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: