diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml
index 4a76f91..7baec1d 100644
--- a/.woodpecker/.build.yml
+++ b/.woodpecker/.build.yml
@@ -22,31 +22,6 @@ steps:
when:
- branch: master
event: push
- - name: mail_success
- image: deblan/woodpecker-email
- settings:
- debug: yes
- dsn: gmail+smtp://username:password@default?verify_peer=1
- from:
- address:
- - from_secret: SMTP_SELFHOSTED_FROM_EMAIL
- name:
- - from_secret: SMTP_EMAIL_NAME
- recipients:
- - from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
- level: info
- recipients_only: true
- content:
- subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
- body: |
- {{ commit.sha }}
- {{ pipeline.status }}
- {{ commit.author_email }}
- attachments:
- - log/*
- when:
- - branch: master
- - status: [success, failure]
when:
- branch: master
diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml
index a488c00..0cf02b8 100644
--- a/.woodpecker/.deploy.yml
+++ b/.woodpecker/.deploy.yml
@@ -13,31 +13,6 @@ steps:
when:
- branch: master
event: push
- - name: mail_success
- image: deblan/woodpecker-email
- settings:
- debug: yes
- dsn: gmail+smtp://username:password@default?verify_peer=1
- from:
- address:
- - from_secret: SMTP_SELFHOSTED_FROM_EMAIL
- name:
- - from_secret: SMTP_EMAIL_NAME
- recipients:
- - from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
- level: success
- recipients_only: true
- content:
- subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
- body: |
- {{ commit.sha }}
- {{ pipeline.status }}
- {{ commit.author_email }}
- attachments:
- - log/*
- when:
- - branch: master
- - status: [success, failure]
when:
- branch: master