2024-03-19 11:35:48 +00:00
|
|
|
depends_on:
|
|
|
|
- docker
|
|
|
|
- binaries
|
|
|
|
|
|
|
|
when:
|
|
|
|
- event: tag
|
|
|
|
|
|
|
|
steps:
|
2024-05-06 07:18:33 +00:00
|
|
|
- name: mastodon-toot
|
2024-03-19 11:35:48 +00:00
|
|
|
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: |
|
2024-05-06 07:18:33 +00:00
|
|
|
We want to present the next version of our app on Mastodon.
|
2024-03-19 11:35:48 +00:00
|
|
|
Therefore we want to post a catching text, so users will know why they should
|
2024-05-06 07:18:33 +00:00
|
|
|
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
|
2024-03-19 11:35:48 +00:00
|
|
|
|
|
|
|
The changelog entry: {{ changelog }}
|
2024-05-06 07:18:33 +00:00
|
|
|
- name: discord
|
|
|
|
image: docker.io/appleboy/drone-discord:1.3.1
|
|
|
|
settings:
|
|
|
|
webhook_id: 1236558396820295711
|
|
|
|
webhook_token:
|
|
|
|
from_secret: discord_token
|
|
|
|
message: '**{{ build.tag }}** was released: <https://github.com/woodpecker-ci/woodpecker/releases/tag/{{ build.tag }}>'
|