mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-25 20:31:26 -08:00
Merge pull request 'sends email on action' (#7) from woodpecker/mail-on-pipeline into main
Reviewed-on: https://codeberg.org/saint/pyfedi/pulls/7
This commit is contained in:
commit
1de2ca3fa7
1 changed files with 20 additions and 0 deletions
|
@ -8,3 +8,23 @@ steps:
|
|||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: cb_token
|
||||
- name: mail
|
||||
image: deblan/woodpecker-email
|
||||
settings:
|
||||
dsn:
|
||||
from_secret: smtp_dsn
|
||||
from:
|
||||
address:
|
||||
from_secret: smtp_from
|
||||
name: "Woodpecker"
|
||||
recipients:
|
||||
from_secret: smtp_recipients
|
||||
recipients_only: false
|
||||
content:
|
||||
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
|
||||
body: |
|
||||
{{ commit.sha }}<br>
|
||||
{{ pipeline.status }}<br>
|
||||
{{ commit.author_email }}<br>
|
||||
attachments:
|
||||
- log/*
|
||||
|
|
Loading…
Add table
Reference in a new issue