Files
woodpecker/.woodpecker/social.yaml
2025-09-30 20:38:26 +02:00

46 lines
1.8 KiB
YAML

depends_on:
- docker
- binaries
when:
- event: tag
evaluate: 'CI_COMMIT_TAG matches "^v?[0-9]+\\\\.[0-9]+\\\\.[0-9]+$"'
steps:
- name: mastodon-toot
image: docker.io/woodpeckerci/plugin-mastodon-post
settings:
server_url: 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 Mastodon.
Therefore we want to post a catching text, so users will know why they should
update to the newest version. Highlight the most special features. If there is no special feature
included just summarize the changes in a few sentences. The whole text should not be longer than 240
characters. Avoid naming contributors from. Use #WoodpeckerCI, #release and
additional fitting hashtags and emojis to make the post more appealing
The changelog entry: {{ changelog }}
- name: bluesky-post
image: docker.io/woodpeckerci/plugin-bluesky-post
settings:
app_password:
from_secret: bluesky_token
identifier: woodpecker-ci.org
ai_token:
from_secret: openai_token
ai_prompt: |
We want to present the next version of our app on Mastodon.
Therefore we want to post a catching text, so users will know why they should
update to the newest version. Highlight the most special features. If there is no special feature
included just summarize the changes in a few sentences. The whole text should not be longer than 240
characters. Avoid naming contributors from. Use #WoodpeckerCI, #release and
additional fitting hashtags and emojis to make the post more appealing
The changelog entry: {{ changelog }}