ff
This commit is contained in:
parent
de38af81be
commit
c05beef92b
1 changed files with 3 additions and 17 deletions
|
@ -65,28 +65,14 @@ jobs:
|
|||
notify:
|
||||
steps:
|
||||
- name: Send notification
|
||||
uses: docker://registry.mgrote.net/allzweckcontainer:latest
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
if: always()
|
||||
#if: failure()
|
||||
with:
|
||||
args: echo "CI Error in ${{ GITHUB_REPOSITORY }}" | s-nail \
|
||||
--subject="git.mgrote.net - CI-Failure - ${{ GITHUB_REPOSITORY }}" \
|
||||
--set=smtp-auth="none" \
|
||||
--set=v15-compat \
|
||||
--set=mta= \
|
||||
-r gitea@mgrote.net \
|
||||
michael.grote@posteo.de
|
||||
- name: Send mail
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
with:
|
||||
connection_url: smtp://docker10.mgrote.net:1025
|
||||
# Required mail server address if not connection_url:
|
||||
#server_address: smtp.gmail.com
|
||||
# Server port, default 25:
|
||||
#server_port: 465
|
||||
secure: false
|
||||
subject: "CI Error in ${{ env.GITHUB_REPOSITORY }}"
|
||||
ignore_cert: true
|
||||
to: michael.grote@posteo.de
|
||||
from: Gitea Actions
|
||||
subject: "CI Error in ${{ env.GITHUB_REPOSITORY }}"
|
||||
body: Build job of ${{ env.github.repository }} completed successfully!
|
||||
ignore_cert: true
|
||||
|
|
Loading…
Reference in a new issue