Update .yml files

This commit is contained in:
Keannu Christian Bernasol 2025-03-27 02:29:24 +08:00
parent 2a976aeeb7
commit 35b104660d
2 changed files with 5 additions and 11 deletions

View file

@ -36,7 +36,7 @@ steps:
recipients:
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
level: info
recipients_only: false
recipients_only: true
content:
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
body: |
@ -46,7 +46,4 @@ steps:
attachments:
- log/*
when:
- branch: master
- status:
- success
- failure
- status: [success, failure]

View file

@ -14,7 +14,7 @@ steps:
- branch: master
event: push
- name: mail_success
image: deblan/woodpecker-email"
image: deblan/woodpecker-email
settings:
dsn:
- from_secret: SMTP_SELFHOSTED_DSN
@ -27,7 +27,7 @@ steps:
recipients:
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
level: success
recipients_only: false
recipients_only: true
content:
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
body: |
@ -37,7 +37,4 @@ steps:
attachments:
- log/*
when:
- branch: master
- status:
- success
- failure
- status: [success, failure]