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