feat: trigger email on ci
All checks were successful
Deploy Pages / Generate-Pages (push) Successful in 40s
All checks were successful
Deploy Pages / Generate-Pages (push) Successful in 40s
This commit is contained in:
parent
1f734f6af9
commit
f8675da706
@ -15,6 +15,18 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user