File tree 1 file changed +14
-11
lines changed 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -746,20 +746,22 @@ depends_on:
746
746
747
747
---
748
748
kind : pipeline
749
- name : notify
749
+ name : notifications
750
750
751
751
platform :
752
752
os : linux
753
- arch : amd64
754
-
755
- workspace :
756
- base : /go
757
- path : src/code.gitea.io/gitea
753
+ arch : arm64
758
754
759
755
clone :
760
756
disable : true
761
757
762
- when :
758
+ trigger :
759
+ branch :
760
+ - master
761
+ - " release/*"
762
+ event :
763
+ - push
764
+ - tag
763
765
status :
764
766
- success
765
767
- failure
@@ -777,9 +779,10 @@ depends_on:
777
779
steps :
778
780
- name : discord
779
781
pull : always
780
- image : appleboy/drone-discord:1.0.0
781
- environment :
782
- DISCORD_WEBHOOK_ID :
782
+ image : appleboy/drone-discord:1.2.4
783
+ settings :
784
+ message : " {{#success build.status}} ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.\n\n 📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n ``` {{commit.message}} ```\n\n 🌐 {{ build.link }} {{else}} ❌ Build #{{build.number}} of `{{repo.name}}` failed.\n\n 📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n ``` {{commit.message}} ```\n\n 🌐 {{ build.link }} {{/success}}\n "
785
+ webhook_id :
783
786
from_secret : discord_webhook_id
784
- DISCORD_WEBHOOK_TOKEN :
787
+ webhook_token :
785
788
from_secret : discord_webhook_token
You can’t perform that action at this time.
0 commit comments