send-email.yaml
This commit is contained in:
20
.github/workflows/send-email.yaml
vendored
Normal file
20
.github/workflows/send-email.yaml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
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://user:password@server:port
|
||||
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
|
Reference in New Issue
Block a user