Files
act-runner-example/.github/workflows/send-email.yaml
严浩 146dd27984
All checks were successful
/ services-test (push) Successful in 3s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 5s
/ job1 (push) Successful in 19s
send-email.yaml
2025-04-24 12:02:59 +08:00

19 lines
599 B
YAML

on:
workflow_dispatch:
jobs:
send-mail:
runs-on: ubuntu-latest
steps:
- name: Send mail
uses: dawidd6/action-send-mail@v4
with:
# * smtp://user:password@server:port
# * smtp+starttls://notifications@nobug.sbs:password@maddy.1-h.cc:5465
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