Adjust workflow for beta's webhook in discord

This commit is contained in:
Raffson 2022-10-09 15:51:27 +02:00
parent bcac6c4287
commit 00aa8bf944
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -38,3 +38,15 @@ jobs:
with: with:
name: dcs-retribution name: dcs-retribution
path: dist/dcs-retribution.zip 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()