Skip to content
circle

GitHub Action

Github Release To Discord

v1.5.0 Latest version

Github Release To Discord

circle

Github Release To Discord

Send body of Github Release To Discord with Webhook

Installation

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

              

- name: Github Release To Discord

uses: LeGitHubDeTai/github-to-discord@v1.5.0

Learn more about this action in LeGitHubDeTai/github-to-discord

Choose a version

github-to-discord

Buy Me A Coffee


TuTo Video:

Tutorial And Demo

Use:

    - name: Discord notification
      uses: LeGitHubDeTai/github-to-discord@main
      env:
        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
        DISCORD_USERNAME: Tai Studio
        DISCORD_AVATAR: https://raw.githubusercontent.com/LeGitHubDeTai/github-to-discord/main/icon.png
        MESSAGE_TITLE: New Version
        MESSAGE_DESCRIPTION: Github Action By Tai Studio
        MESSAGE_URL: https://github.com/LeGitHubDeTai/AnimeBack
        MESSAGE_COLOR: 5814783

Complete:

name: Notification on push

on:
  release:
    types: [published]

jobs:
  sending:
    runs-on: ubuntu-latest
    steps:
    - name: Discord notification
      uses: LeGitHubDeTai/github-to-discord@main
      env:
        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
        DISCORD_USERNAME: Tai Studio
        DISCORD_AVATAR: https://raw.githubusercontent.com/LeGitHubDeTai/github-to-discord/main/icon.png
        MESSAGE_TITLE: New Version
        MESSAGE_DESCRIPTION: Github Action By Tai Studio
        MESSAGE_URL: https://github.com/LeGitHubDeTai/AnimeBack
        MESSAGE_COLOR: 5814783
        CONTENT: null
        MESSAGE_TITLE: "New Version"
        MESSAGE_DESCRIPTION: "Tai Studio"
        MESSAGE_URL: 'https://github.com/LeGitHubDeTai/github-to-discord'
        SECTION_NAME: "ChangeLog"
        AUTHOR_NAME: "Tai Studio"
        AUTHOR_URL: "https://tai-studio.ml"
        AUTHOR_AVATAR: "https://tai-studio.ml/img/icons/Tai_Studio_discord.png"
        FOOTER_TEXT: "- Tai Studio © 2021 -"
        FOOTER_URL: "https://tai-studio.ml/img/icons/Tai_Studio_discord.png"
        IMAGE: null;

REQUIREMENT:

THE GITHUB REPO MUST BE IN PUBLIC MODE