From 8352cf3a865f694c2d9f0c6061b615e33a47d5da Mon Sep 17 00:00:00 2001 From: caelebfi Date: Mon, 19 Aug 2024 10:46:28 +0200 Subject: [PATCH] added email notification --- .gitea/workflows/build.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cb32668..850183b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -40,3 +40,14 @@ jobs: tags: | # replace it with your local IP and tags harbor.solusar.de/library/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} harbor.solusar.de/library/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} + - name: Send mail + if: always() + uses: https://github.com/dawidd6/action-send-mail@v3 + with: + to: ${{ secrets.MAIL_TO }} + from: Gitea + subject: ${{ gitea.repository }} ${{gitea.workflow}} ${{ job.status }} + priority: high + convert_markdown: true + html_body: | + ### Job ${{ job.status }} \ No newline at end of file