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