From c42c6078f07b4971a062e0ca27fa92b26bdf4fe7 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 2 Sep 2024 20:47:51 +0200 Subject: [PATCH] dd --- .gitea/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1181983..b19ea72 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -64,10 +64,9 @@ jobs: notify: steps: - - name: Send notification + - name: Send notification on error uses: dawidd6/action-send-mail@v3 - if: always() - #if: failure() + if: failure() with: connection_url: smtp://docker10.mgrote.net:1025 secure: false @@ -75,4 +74,4 @@ jobs: to: michael.grote@posteo.de from: Gitea Actions subject: "CI Error in ${{ env.GITHUB_REPOSITORY }}" - body: Build job of ${{ env.github.repository }} completed successfully! + body: Job of ${{ env.github.repository }} failed!