Send toots with GitHub Actions
Published:
, Updated:
Talks about:
<a class="post-tag post-tag-github" href="/tags/github">github</a>, <a class="post-tag post-tag-github-actions" href="/tags/github-actions">github actions</a>, <a class="post-tag post-tag-mastodon" href="/tags/mastodon">mastodon</a>, and <a class="post-tag post-tag-toot" href="/tags/toot">toot</a>
The rzr/fediverse-action action allows to send a toot in your GitHub Action.
name: <NAME>
jobs:
build:
runs-on: <RUN_ON>
steps:
- name: Publish Toot
uses: rzr/fediverse-action@master
with:
access-token: ${{ secrets.MASTODON_TOKEN }}
message: <MESSAGE>
host: ${{ secrets.MASTODON_SERVER }}
<PIPELINE>
: The name of your pipeline.<RUN_ON>
: The runner to use, see GitHub’s own documentation for possible values.<MESSAGE>
: Message for the toot.