fix(ci): add woodpecker 3 syntax
This commit is contained in:
parent
8ae9d8ef9f
commit
339533f532
1 changed files with 22 additions and 5 deletions
|
|
@ -1,12 +1,13 @@
|
|||
matrix:
|
||||
PHP_VERSION:
|
||||
- 8.4
|
||||
- 8.3
|
||||
- 8.2
|
||||
- 8.1
|
||||
- 8.0
|
||||
- 7.4
|
||||
- 7.3
|
||||
- 7.1
|
||||
# - 7.4
|
||||
# - 7.3
|
||||
# - 7.1
|
||||
|
||||
steps:
|
||||
"Docker build and push":
|
||||
|
|
@ -30,7 +31,7 @@ steps:
|
|||
- event: cron
|
||||
- branch: [master]
|
||||
|
||||
"Send notification":
|
||||
"Send notification (success)":
|
||||
image: deblan/woodpecker-email
|
||||
settings:
|
||||
dsn:
|
||||
|
|
@ -41,5 +42,21 @@ steps:
|
|||
recipients:
|
||||
from_secret: mail_to
|
||||
recipients_only: true
|
||||
level: success
|
||||
when:
|
||||
status: [success, failure]
|
||||
status: success
|
||||
|
||||
"Send notification (failure)":
|
||||
image: deblan/woodpecker-email
|
||||
settings:
|
||||
dsn:
|
||||
from_secret: mail_dsn
|
||||
from:
|
||||
address:
|
||||
from_secret: mail_from
|
||||
recipients:
|
||||
from_secret: mail_to
|
||||
recipients_only: true
|
||||
level: failure
|
||||
when:
|
||||
status: failure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue