ci: send mail action

This commit is contained in:
log101 2024-06-13 21:37:20 +03:00
parent 848098b0c5
commit 5d4e52c1de

View File

@ -44,15 +44,16 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Send mail
uses: dawidd6/action-send-mail@v3
with:
server_address: mail.log101.dev
server_port: 465
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Github Actions job result
to: ffrknerdm@gmail.com
from: gitea@log101.dev
body: Build job of ${{github.repository}} completed successfully!
- name: Send mail
uses: dawidd6/action-send-mail@v3
if: $ {{ always() }}
with:
server_address: mail.log101.dev
server_port: 465
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Github Actions job result
to: ffrknerdm@gmail.com
from: gitea@log101.dev
body: Build job of ${{github.repository}} completed with status ${{ jobs.build-and-push-image.status }}!