From c89f5d63eba3c612fdd251e779e532d9a26f8f61 Mon Sep 17 00:00:00 2001 From: SuperSonic16 <25761885+thesupersonic16@users.noreply.github.com> Date: Tue, 21 Jan 2025 17:28:21 +1100 Subject: [PATCH] Attempt 14 --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54d73d37..c8bcac7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,6 @@ name: Build Project on: workflow_dispatch: - push: - branches: - - linux-actions env: FLATPAK_ID: io.github.hedge_dev.unleashedrecomp @@ -60,8 +57,9 @@ jobs: path: ./${{ env.FLATPAK_ID }}.flatpak - name: Upload artifact to Discord - uses: sinshutu/upload-to-discord@master - env: + env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + if: ${{ env.DISCORD_WEBHOOK != '' }} + uses: sinshutu/upload-to-discord@master with: args: ./${{ env.FLATPAK_ID }}.flatpak \ No newline at end of file