Skip to content

Commit be89d76

Browse files
authored
Send workflow status to discord webhook
1 parent 52f784e commit be89d76

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,12 @@ jobs:
9797
hakchi_gui/bin/hakchi2-ce-${{ env.displayVersion }}-portable.zip
9898
env:
9999
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100+
101+
- name: Notify discord
102+
uses: th0th/[email protected]
103+
if: ${{ always() }}
104+
env:
105+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WORKFLOW_STATUS_WEBHOOK }}
106+
GITHUB_ACTOR: ${{ github.actor }}
107+
GITHUB_JOB_NAME: "Build and deploy"
108+
GITHUB_JOB_STATUS: ${{ job.status }}

0 commit comments

Comments
 (0)