GitHub Action
Notify.Events
v1.0.0
Latest version
GitHub Action for sending a notification message for 30+ messengers and other services.
Send custom message
name: notify.events message
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: send custom message
uses: notify-events/github-action@main
with:
token: ${{ secrets.NE_CHANNEL_TOKEN }}
text: This is message
- token - (required) Notify.Events channel token
- title - Message title
- text - (required) Message text (allow simple html tags: <b>, <i>, <br>, <a href="...">)
- priority - Message priority (highest, high, normal, low, lowest)
- level - Message level (verbose, info, notice, warning, error, success)
uses: notify-events/github-action@main
with:
token: ${{ secrets.NE_CHANNEL_TOKEN }}
title: Build success
text: Build ${{ github.ref }} successfully
priority: info
level: success
- verbose - Message text with 'verbose' level and 'lowest' priority
- info - Message text with 'info' level and 'low' priority
- notice - Message text with 'notice' level and 'low' priority
- success - Message text with 'success' level and 'normal' priority
- warning - Message text with 'warning' level and 'high' priority
- error - Message text with 'error' level and 'highest' priority
uses: notify-events/github-action@main
with:
token: $(( secrets.NE_CHANNEL_TOKEN }}
success: Build {{ github.ref }} successfully