-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add discord notification testing workflow
- Loading branch information
1 parent
370f920
commit 421df2b
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
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
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 }} " |