diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index eb73fdf..c68f09d 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -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