mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-10 20:11:28 +08:00
Update .yml files
This commit is contained in:
parent
2a976aeeb7
commit
35b104660d
2 changed files with 5 additions and 11 deletions
|
@ -36,7 +36,7 @@ steps:
|
||||||
recipients:
|
recipients:
|
||||||
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
||||||
level: info
|
level: info
|
||||||
recipients_only: false
|
recipients_only: true
|
||||||
content:
|
content:
|
||||||
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
|
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
|
||||||
body: |
|
body: |
|
||||||
|
@ -46,7 +46,4 @@ steps:
|
||||||
attachments:
|
attachments:
|
||||||
- log/*
|
- log/*
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- status: [success, failure]
|
||||||
- status:
|
|
||||||
- success
|
|
||||||
- failure
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ steps:
|
||||||
- branch: master
|
- branch: master
|
||||||
event: push
|
event: push
|
||||||
- name: mail_success
|
- name: mail_success
|
||||||
image: deblan/woodpecker-email"
|
image: deblan/woodpecker-email
|
||||||
settings:
|
settings:
|
||||||
dsn:
|
dsn:
|
||||||
- from_secret: SMTP_SELFHOSTED_DSN
|
- from_secret: SMTP_SELFHOSTED_DSN
|
||||||
|
@ -27,7 +27,7 @@ steps:
|
||||||
recipients:
|
recipients:
|
||||||
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
||||||
level: success
|
level: success
|
||||||
recipients_only: false
|
recipients_only: true
|
||||||
content:
|
content:
|
||||||
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
|
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
|
||||||
body: |
|
body: |
|
||||||
|
@ -37,7 +37,4 @@ steps:
|
||||||
attachments:
|
attachments:
|
||||||
- log/*
|
- log/*
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- status: [success, failure]
|
||||||
- status:
|
|
||||||
- success
|
|
||||||
- failure
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue