Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
bell

GitHub Action

API Alerts - GitHub Action Notify

v1.2

API Alerts - GitHub Action Notify

bell

API Alerts - GitHub Action Notify

Get notifications to your device during your CI/CD pipelines on GitHub Actions

Installation

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

              

- name: API Alerts - GitHub Action Notify

uses: apialerts/[email protected]

Learn more about this action in apialerts/notify-action

Choose a version

GitHub Actions Integration

Simple integration with the API Alerts platform to send a notification to your device during a GitHub action pipeline.

Inputs

api_key

Required API Key of the project to notify.

Get your projects API Key from the Projects Page in the mobile app.

message

Required The notification message to be sent to your devices

tags

Optional Comma separated list of tags to attach to the event.

link

Optional Link to attach to the event

Example usage

Minimal usage

- name: API Alerts Notify
  uses: apialerts/notify-action@v1
  with:
    api_key: ${{ secrets.API_ALERTS_KEY }}
    message: 'Production website deployed'

Full usage

- name: API Alerts Notify
  uses: apialerts/notify-action@v1
  with:
    api_key: ${{ secrets.API_ALERTS_KEY }}
    message: 'Production website deployed'
    tags: 'Deploy,Production,Web,CI/CD'
    link: 'https://apialerts.com'

Tip: Create a new GitHub action secret in your repository with the name API_ALERTS_KEY to secure your project key.