From 3f570cce5e32b244c63d2462fc44bbf831ad28a3 Mon Sep 17 00:00:00 2001 From: Raffson Date: Fri, 6 Jan 2023 21:02:05 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81abc5b2..fd079103 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,4 +49,15 @@ jobs: include_image: true avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png username: GitHub Build Notifier - if: startsWith(github.ref_name, 'test') \ No newline at end of file + if: startsWith(github.ref_name, 'test') + + - name: Send status to Discord + uses: stegzilla/discord-notify@v2 + with: + webhook_url: ${{ secrets.discord_webhook_alphas }} + title: "Build #${{ github.run_number }} available!" + message: "**Branch:** ${{ github.ref_name }}\n**Download link:\n** https://github.com/dcs-retribution/dcs-retribution/actions/runs/${{ github.run_id }}" + include_image: true + avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png + username: GitHub Build Notifier + if: github.ref_name == 'dev'