Skip to content
message-square

GitHub Action

Discord Notifier

v1.2.0 Latest version

Discord Notifier

message-square

Discord Notifier

Get notification on discord

Installation

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

              

- name: Discord Notifier

uses: fateyan/[email protected]

Learn more about this action in fateyan/action-discord-notifier

Choose a version

Discord Notifier

A GitHub Action to post message to discord using discord webhook

This is a JavaScript action, so it should work on all machines include Windows, Linux, and macOS.

Quick Example

on:
  push:
    branches:
      - '**'

name: Discord Notification

jobs:
  notify:
    name: Discord Notification
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - uses: fateyan/action-discord-notifier@v1
        with:
          message-title: New Commits Pushed
          webhook: https://discordapp.com/api/webhooks/00000000000/secret

For more about workflow configuration, please see GitHub Help.

About Discord webhook, please see this article on Discord Help Centre.

Usage

Argument Required Description
webhook ✔️ A full webhook url. MUST NOT append /github at the end.
message-title Custom embed message title. Optional.