mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
Post on mastodon when releasing a new version (#3509)
Depend on https://codeberg.org/woodpecker-plugins/mastodon-post/pulls/6 (merged)
This commit is contained in:
parent
1f75650720
commit
d8e20cc9a9
1 changed files with 25 additions and 0 deletions
25
.woodpecker/social.yaml
Normal file
25
.woodpecker/social.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
depends_on:
|
||||
- docker
|
||||
- binaries
|
||||
|
||||
when:
|
||||
- event: tag
|
||||
|
||||
steps:
|
||||
mastodon-toot:
|
||||
image: docker.io/woodpeckerci/plugin-mastodon-post
|
||||
settings:
|
||||
server: https://floss.social
|
||||
access_token:
|
||||
from_secret: mastodon_token
|
||||
visibility: public
|
||||
ai_token:
|
||||
from_secret: openai_token
|
||||
ai_prompt: |
|
||||
We want to present the next version of our app on Twitter.
|
||||
Therefore we want to post a catching text, so users will know why they should
|
||||
update to the newest version. If there is no special feature included
|
||||
just summarize the changes in a few sentences. Use #WoodpeckerCI, #release and
|
||||
additional fitting hashtags and emojis to make the post more appealing.
|
||||
|
||||
The changelog entry: {{ changelog }}
|
Loading…
Reference in a new issue