feat: trigger email on ci
All checks were successful
Deploy Pages / Generate-Pages (push) Successful in 40s

This commit is contained in:
Linloir 2024-10-13 21:15:50 +08:00
parent 1f734f6af9
commit f8675da706
Signed by: Linloir
GPG Key ID: 3D6B9EC35C923C81

View File

@ -15,6 +15,18 @@ jobs:
contents: write
steps:
- name: Send mail
uses: https://github.com/dawidd6/action-send-mail@v3
with:
server_address: smtp.qq.com
server_port: 465
secure: true
username: "${{ secrets.QQ_SMTP_USERNAME }}"
password: "${{ secrets.QQ_SMTP_TOKEN }}"
subject: 博客部署启动
to: 3145078758@qq.com
from: Gitea Actions
body: 博客自动化部署开始执行, 前往 ${{ gitea.server_url }}/${{ gitea.repostiory }}/actions/runs/${{ gitea.run_id }} 查看执行日志
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js