when: - event: push steps: - name: build image: eclipse-temurin:17-jdk-alpine commands: - ./gradlew clean build - name: notify image: deblan/woodpecker-email settings: debug: true dsn: from_secret: smtp_url from: address: from_secret: email_sender name: "Woodpecker CI" recipients_only: true recipients: from_secret: email_recipient when: status: - failure