add job 执行异常的 邮件报警逻辑
All checks were successful
Gitea Actions Demo / host-commands (push) Successful in 0s

This commit is contained in:
2026-02-20 19:03:02 +08:00
parent ac6c881763
commit f93fda8efa
6 changed files with 103 additions and 4 deletions

11
.env
View File

@ -12,4 +12,13 @@ DB_HOST= 47.119.128.161 # 192.168.1.200
DB_PORT=19732
DB_USER=postgres
DB_PASS=postgres
DB_NAME=peter
DB_NAME=peter
# 邮件发送配置
SMTP_HOST=smtp.qq.com
SMTP_PORT=587
SMTP_USER=1026090807@qq.com
SMTP_PASSWORD=hqorvminmnuubebf
SMTP_USE_TLS=true
SMTP_FROM=Peter
ERROR_NOTIFICATION_EMAIL=changsongd@126.com