mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-10 20:11:28 +08:00
Test dsn errors
This commit is contained in:
parent
aa2798e854
commit
a226fc8ce5
2 changed files with 4 additions and 4 deletions
|
@ -26,13 +26,12 @@ steps:
|
||||||
image: deblan/woodpecker-email
|
image: deblan/woodpecker-email
|
||||||
settings:
|
settings:
|
||||||
debug: yes
|
debug: yes
|
||||||
dsn: "smtp://username:password@mail.example.com:587?verify_peer=1"
|
dsn: "gmail+smtp://username:password@default?verify_peer=1"
|
||||||
from:
|
from:
|
||||||
address:
|
address:
|
||||||
- from_secret: SMTP_SELFHOSTED_FROM_EMAIL
|
- from_secret: SMTP_SELFHOSTED_FROM_EMAIL
|
||||||
name:
|
name:
|
||||||
- from_secret: SMTP_EMAIL_NAME
|
- from_secret: SMTP_EMAIL_NAME
|
||||||
evaluate: 'commit.branch == "master"'
|
|
||||||
recipients:
|
recipients:
|
||||||
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
||||||
level: info
|
level: info
|
||||||
|
@ -46,6 +45,7 @@ steps:
|
||||||
attachments:
|
attachments:
|
||||||
- log/*
|
- log/*
|
||||||
when:
|
when:
|
||||||
|
- branch: master
|
||||||
- status: [success, failure]
|
- status: [success, failure]
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -17,13 +17,12 @@ steps:
|
||||||
image: deblan/woodpecker-email
|
image: deblan/woodpecker-email
|
||||||
settings:
|
settings:
|
||||||
debug: yes
|
debug: yes
|
||||||
dsn: "smtp://username:password@mail.example.com:587?verify_peer=1"
|
dsn: "gmail+smtp://username:password@default?verify_peer=1"
|
||||||
from:
|
from:
|
||||||
address:
|
address:
|
||||||
- from_secret: SMTP_SELFHOSTED_FROM_EMAIL
|
- from_secret: SMTP_SELFHOSTED_FROM_EMAIL
|
||||||
name:
|
name:
|
||||||
- from_secret: SMTP_EMAIL_NAME
|
- from_secret: SMTP_EMAIL_NAME
|
||||||
evaluate: 'commit.branch == "master"'
|
|
||||||
recipients:
|
recipients:
|
||||||
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
- from_secret: SMTP_SELFHOSTED_EMAIL_TO_1
|
||||||
level: success
|
level: success
|
||||||
|
@ -37,6 +36,7 @@ steps:
|
||||||
attachments:
|
attachments:
|
||||||
- log/*
|
- log/*
|
||||||
when:
|
when:
|
||||||
|
- branch: master
|
||||||
- status: [success, failure]
|
- status: [success, failure]
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Add table
Reference in a new issue