From 00aa8bf94424fa2837ea51df8911aab83a667db2 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 9 Oct 2022 15:51:27 +0200 Subject: [PATCH] Adjust workflow for beta's webhook in discord --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6697a819..a2380b52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,3 +38,15 @@ jobs: with: name: dcs-retribution path: dist/dcs-retribution.zip + + - name: Send status to Discord + uses: stegzilla/discord-notify@v2 + with: + webhook_url: ${{ secrets.discord_webhook_betas }} # required + title: "Build #${{ github.run_number }} available!" + message: "**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: success() # or failure() or success() \ No newline at end of file