put that in your pipe and smoke it... it will do the trick I assure you #402
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Discord notification Action | |
on: [push] | |
jobs: | |
DiscordNotification: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Discord notification | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
uses: rjstone/discord-webhook-notify@v1 | |
with: | |
severity: info | |
username: MafenBot | |
color: '#ff00aa' | |
avatarUrl: https://github.githubassets.com/images/modules/logos_page/Octocat.png | |
description: ${{ github.event.head_commit.message }} | |
details: ${{ github.event.head_commit.url }} | |
footer: MafenBot became self aware | |
text: ${{ github.event.pusher.name }} pushed to ${{ github.event.repository.name }} on branch ${{ github.ref_name }} | |
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} |