mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Limit beta's webhook to test-branches only
This commit is contained in:
parent
9d65c450b6
commit
33305cfb46
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -42,11 +42,11 @@ jobs:
|
||||
- name: Send status to Discord
|
||||
uses: stegzilla/discord-notify@v2
|
||||
with:
|
||||
webhook_url: ${{ secrets.discord_webhook_betas }} # required
|
||||
webhook_url: ${{ secrets.discord_webhook_betas }}
|
||||
title: "Build #${{ github.run_number }} available!"
|
||||
message: "**Download link:\n**
|
||||
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: success() # or failure() or success()
|
||||
if: startsWith(github.ref_name, 'test')
|
||||
Loading…
x
Reference in New Issue
Block a user