添加 GitHub Actions 工作流以发送邮件通知
All checks were successful
/ job1 (push) Successful in 8s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 9s
/ hashFiles (push) Successful in 7s
/ go-hashfiles (push) Successful in 22s

This commit is contained in:
严浩
2024-10-14 12:08:11 +08:00
parent fa934c7513
commit d356d9fd72

18
.github/workflows/send-email.yaml.off vendored Normal file
View File

@ -0,0 +1,18 @@
on:
push:
branches:
- main
jobs:
send-mail:
runs-on: ubuntu-latest
steps:
- name: Send mail
uses: dawidd6/action-send-mail@v3
with:
connection_url: ${{secrets.MAIL_CONNECTION}}
subject: Github Actions job result
to: obiwan@oo1.dev,yoda@oo1.dev
from: Luke Skywalker
# body: Build job of ${{github.repository}} completed successfully!
attachments: ./*.txt
priority: high