Send toots with GitHub Actions View article history Edit article

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 }}