send-email.yaml

This commit is contained in:
严浩
2025-04-24 12:02:18 +08:00
parent 1a64d91665
commit 0bc30af51b

View File

@@ -1,7 +1,5 @@
on:
push:
branches:
- main
workflow_dispatch:
jobs:
send-mail:
runs-on: ubuntu-latest
@@ -10,7 +8,7 @@ jobs:
uses: dawidd6/action-send-mail@v4
with:
# * smtp://user:password@server:port
# * smtp+starttls://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