Skip to content

Commit 63e3beb

Browse files
qwerty287anbratenpre-commit-ci[bot]
authored andcommitted
Add discord announcements (woodpecker-ci#3678)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent cfefcf1 commit 63e3beb

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.woodpecker/social.yaml

+13-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ when:
66
- event: tag
77

88
steps:
9-
mastodon-toot:
9+
- name: mastodon-toot
1010
image: docker.io/woodpeckerci/plugin-mastodon-post
1111
settings:
1212
server: https://floss.social
@@ -16,10 +16,18 @@ steps:
1616
ai_token:
1717
from_secret: openai_token
1818
ai_prompt: |
19-
We want to present the next version of our app on Twitter.
19+
We want to present the next version of our app on Mastodon.
2020
Therefore we want to post a catching text, so users will know why they should
21-
update to the newest version. If there is no special feature included
22-
just summarize the changes in a few sentences. Use #WoodpeckerCI, #release and
23-
additional fitting hashtags and emojis to make the post more appealing.
21+
update to the newest version. Highlight the most special features. If there is no special feature
22+
included just summarize the changes in a few sentences. The whole text should not be longer than 240
23+
characters. Avoid naming contributors from. Use #WoodpeckerCI, #release and
24+
additional fitting hashtags and emojis to make the post more appealing
2425
2526
The changelog entry: {{ changelog }}
27+
- name: discord
28+
image: docker.io/appleboy/drone-discord:1.3.1
29+
settings:
30+
webhook_id: 1236558396820295711
31+
webhook_token:
32+
from_secret: discord_token
33+
message: '**{{ build.tag }}** was released: <https://github.com/woodpecker-ci/woodpecker/releases/tag/{{ build.tag }}>'

0 commit comments

Comments
 (0)