From 7a324d732fcbbba7868e15c2c9e1d47899a31496 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Fri, 8 Mar 2024 15:44:31 -0500 Subject: [PATCH] show build status on push --- .gitea/workflows/build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bad5b14..49574d9 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -44,7 +44,7 @@ jobs: docker buildx build --pull -t code.nephatrine.net/nephnet/quake2-yamagi:${BRANCH}-latest-amd64 --platform linux/amd64 ${{ gitea.workspace }} - name: Notify Discord uses: https://github.com/sarisia/actions-status-discord@v1 - if: failure() + if: failure() || gitea.event_name != 'schedule' with: title: "Container Build (X86_64)" webhook: ${{ secrets.DISCORD_WEBHOOK_BUILD }} @@ -83,7 +83,7 @@ jobs: docker buildx build --pull -t code.nephatrine.net/nephnet/quake2-yamagi:${BRANCH}-latest-i386 --platform linux/386 ${{ gitea.workspace }} - name: Notify Discord uses: https://github.com/sarisia/actions-status-discord@v1 - if: failure() + if: failure() || gitea.event_name != 'schedule' with: title: "Container Build (I686)" webhook: ${{ secrets.DISCORD_WEBHOOK_BUILD }} @@ -122,7 +122,7 @@ jobs: docker buildx build --pull -t code.nephatrine.net/nephnet/quake2-yamagi:${BRANCH}-latest-arm64 --platform linux/arm64/v8 ${{ gitea.workspace }} - name: Notify Discord uses: https://github.com/sarisia/actions-status-discord@v1 - if: failure() + if: failure() || gitea.event_name != 'schedule' with: title: "Container Build (AARCH64)" webhook: ${{ secrets.DISCORD_WEBHOOK_BUILD }} @@ -161,7 +161,7 @@ jobs: docker buildx build --pull -t code.nephatrine.net/nephnet/quake2-yamagi:${BRANCH}-latest-armv7 --platform linux/arm/v7 ${{ gitea.workspace }} - name: Notify Discord uses: https://github.com/sarisia/actions-status-discord@v1 - if: failure() + if: failure() || gitea.event_name != 'schedule' with: title: "Container Build (ARMV7L)" webhook: ${{ secrets.DISCORD_WEBHOOK_BUILD }} @@ -200,7 +200,7 @@ jobs: docker buildx build --pull -t code.nephatrine.net/nephnet/quake2-yamagi:${BRANCH}-latest-riscv64 --platform linux/riscv64 ${{ gitea.workspace }} - name: Notify Discord uses: https://github.com/sarisia/actions-status-discord@v1 - if: failure() + if: failure() || gitea.event_name != 'schedule' with: title: "Container Build (RISCV64)" webhook: ${{ secrets.DISCORD_WEBHOOK_BUILD }}