v0.0.318 add failure mail to testx.yml
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m9s

This commit is contained in:
Mike Schwörer 2023-11-13 15:34:58 +01:00
parent 7d18b913c6
commit 1260b2dc77
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 22 additions and 3 deletions

View File

@ -6,7 +6,12 @@
name: Build Docker and Deploy
run-name: Build & Deploy ${{ gitea.ref }} on ${{ gitea.actor }}
on: [push]
on:
push:
branches:
- '*'
- '**'
jobs:
run_tests:
@ -34,3 +39,17 @@ jobs:
- name: Run tests
run: cd "${{ gitea.workspace }}" && make test
- name: Send failure mail
if: failure()
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.fastmail.com
server_port: 465
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Pipeline on '${{ gitea.repository }}' failed
to: ${{ steps.commiter_info.outputs.MAIL }}
from: Gitea Actions <gitea_actions@blackforestbytes.de>
body: "Go to https://gogs.blackforestbytes.com/${{ gitea.repository }}/actions"

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.317"
const GoextVersion = "0.0.318"
const GoextVersionTimestamp = "2023-11-13T15:28:37+0100"
const GoextVersionTimestamp = "2023-11-13T15:34:58+0100"