From 35b104660d58e0e5ef6965e4aef203418fa1025b Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 27 Mar 2025 02:29:24 +0800 Subject: [PATCH] Update .yml files --- .woodpecker/.build.yml | 7 ++----- .woodpecker/.deploy.yml | 9 +++------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 3fc85cb..4875dbf 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -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] diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml index e6c734e..8673310 100644 --- a/.woodpecker/.deploy.yml +++ b/.woodpecker/.deploy.yml @@ -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]