File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -746,20 +746,22 @@ depends_on:
746746
747747---
748748kind : pipeline
749- name : notify
749+ name : notifications
750750
751751platform :
752752 os : linux
753- arch : amd64
754-
755- workspace :
756- base : /go
757- path : src/code.gitea.io/gitea
753+ arch : arm64
758754
759755clone :
760756 disable : true
761757
762- when :
758+ trigger :
759+ branch :
760+ - master
761+ - " release/*"
762+ event :
763+ - push
764+ - tag
763765 status :
764766 - success
765767 - failure
@@ -777,9 +779,10 @@ depends_on:
777779steps :
778780 - name : discord
779781 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 :
783786 from_secret : discord_webhook_id
784- DISCORD_WEBHOOK_TOKEN :
787+ webhook_token :
785788 from_secret : discord_webhook_token
You can’t perform that action at this time.
0 commit comments