2022-05-16 18:26:35 +02:00
|
|
|
depends_on:
|
2022-08-15 16:26:02 +02:00
|
|
|
- build
|
|
|
|
- locale
|
|
|
|
- check
|
2022-05-16 18:26:35 +02:00
|
|
|
|
|
|
|
run_on: [ success, failure ]
|
|
|
|
skip_clone: true
|
|
|
|
|
2023-09-19 07:23:43 +02:00
|
|
|
steps:
|
2022-08-15 16:26:02 +02:00
|
|
|
discord:
|
|
|
|
image: appleboy/drone-discord
|
|
|
|
settings:
|
|
|
|
message: "{{#success build.status}} ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.\n\n📝 Commit by {{commit.author}}:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{else}} ❌ Build #{{build.number}} of `{{repo.name}}` failed.\n\n📝 Commit by {{commit.author}}:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{/success}}\n"
|
|
|
|
webhook_id:
|
|
|
|
from_secret:
|
|
|
|
DISCORD_BOT_ID
|
|
|
|
webhook_token:
|
|
|
|
from_secret:
|
|
|
|
DISCORD_BOT_SECRET
|
|
|
|
when:
|
|
|
|
event: [ push ]
|
|
|
|
branch: main
|