Skip to content

Commit

Permalink
Add discord notification testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasLaure committed Sep 26, 2024
1 parent 370f920 commit 421df2b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/discordNotification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Discord Notification Test

env:
itchio_channel: windows
BuildName: UnderRunner X.Y.Z
ReleaseBody: "Changelog: \n Add: Something"

on: workflow_dispatch

jobs:
discordMessage:
name: Discord Notification
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@master
- name: send custom message with args
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
message: "@here ${{ env.BuildName }} is out on https://undermakersinteractive.itch.io/underrunner \n ${{ env.ReleaseBody }} "

0 comments on commit 421df2b

Please sign in to comment.