Skip to content
send

GitHub Action

Shoutrrr action

v1.0.76 Latest version

Shoutrrr action

send

Shoutrrr action

Notifications using https://containrrr.dev/shoutrrr

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Shoutrrr action

uses: containrrr/[email protected]

Learn more about this action in containrrr/shoutrrr-action

Choose a version

Notifications using Shoutrrr in GitHub Actions

With this action, you can send notifications using Shoutrrr from your GitHub Actions workflows.

Let's give an example:

name: Deploy
on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Some other steps needed for deploying
        run: ...
      - name: Shoutrrr
        uses: containrrr/shoutrrr-action@v1
        with:
          url: ${{ secrets.SHOUTRRR_URL }}
          title: Deployed ${{ github.sha }}
          message: See changes at ${{ github.event.compare }}.

The url is the Shoutrrr service URL as described in the service overview. Service URLs usually contains tokens or other information you should keep confidential, so make sure you store the URL or at least the secret parts of the URL in a GitHub secret.

Not all services support the title option. It's optional and you can leave it out.