Send toots with GitHub Actions View article history Edit article

Published: , Updated:
Talks about: , , , and

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/[email protected]
        with:
          access-token: ${{ secrets.MASTODON_TOKEN }}
          message: <MESSAGE>
          host: ${{ secrets.MASTODON_SERVER }}