From 2f6e2fe553784098a584ccc967343e7499b2320c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 27 Sep 2024 12:58:35 +0200 Subject: [PATCH] ci: test again --- .gitea/workflows/build.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index debb106..ca9c1ef 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -27,16 +27,17 @@ jobs: # cli-args: "shell.sh" - name: Send notification uses: dawidd6/action-send-mail@v3 - if: always() + if: failure() with: connection_url: smtp://docker10.mgrote.net:1025 secure: false ignore_cert: true to: michael.grote@posteo.de from: Gitea Actions - subject: "CI ${{ job.status }} in ${{ env.GITHUB_REPOSITORY }}" + subject: "CI ${{ job.status }} in ${{ github.repository }}" body: | - Repo: ${{ env.GITHUB_REPOSITORY }} + Repo: ${{ github.repository }} + Job: ${{ github.action }} Status: ${{ job.status }} build: