diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2380b52..57daff73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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() \ No newline at end of file + if: startsWith(github.ref_name, 'test') \ No newline at end of file