mirror of
https://codeberg.org/gitnex/GitNex
synced 2024-12-22 08:19:38 +01:00
a7d9918b67
use https://codeberg.org/qwerty287/woodpecker-intellij-formatter Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: M M Arif <mmarif@noreply.codeberg.org> Co-authored-by: qwerty287 <ndev@web.de> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1179 Reviewed-by: 6543 <6543@noreply.codeberg.org> Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org> Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
23 lines
708 B
YAML
23 lines
708 B
YAML
depends_on:
|
|
- build
|
|
- locale
|
|
- check
|
|
|
|
run_on: [ success, failure ]
|
|
skip_clone: true
|
|
|
|
pipeline:
|
|
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
|