mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-10 20:11:28 +08:00
Revert .yml files as email plugin is broken
This commit is contained in:
parent
19f6e8e6f3
commit
b003e10c7b
2 changed files with 0 additions and 50 deletions
|
@ -22,31 +22,6 @@ steps:
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
event: push
|
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 }}<br>
|
|
||||||
{{ pipeline.status }}<br>
|
|
||||||
{{ commit.author_email }}<br>
|
|
||||||
attachments:
|
|
||||||
- log/*
|
|
||||||
when:
|
|
||||||
- branch: master
|
|
||||||
- status: [success, failure]
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
|
|
|
@ -13,31 +13,6 @@ steps:
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
event: push
|
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 }}<br>
|
|
||||||
{{ pipeline.status }}<br>
|
|
||||||
{{ commit.author_email }}<br>
|
|
||||||
attachments:
|
|
||||||
- log/*
|
|
||||||
when:
|
|
||||||
- branch: master
|
|
||||||
- status: [success, failure]
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
|
|
Loading…
Add table
Reference in a new issue