Update the email workflow

This commit is contained in:
Nikolai Rodionov 2024-01-22 08:35:32 +01:00
parent 0f533964ea
commit a95c4a9406
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -2,6 +2,7 @@
# -- Check da helm pipeline
# ----------------------------------------------
when:
- push
- event: cron
cron: nightly
steps:
@ -16,19 +17,15 @@ steps:
notification:
image: deblan/woodpecker-email
settings:
from: woody@badhouseplants.net
host: badhouseplants.net
skip_verify: true
no_starttls: false
username:
from_secret: smtp_username
password:
from_secret: smtp_password
dsn:
from_secret: smtp_dsn
from:
address: woody@badhouseplants.net
name: Woody Woodpecker
recipients:
- allanger@badhouseplants.net
subject: CDH result
target: main
recipients_only: true
attachment: result.html
when:
- status: [success, failure]