when: - branch: main event: [ push, manual, cron ] path: include: [ '.woodpecker/wattpad-downloader.yaml' ] skip_clone: true steps: clone: image: alpine/git commands: - git clone --depth 1 https://github.com/Feuerhamster/wattpad-downloader.git . docker: image: woodpeckerci/plugin-docker-buildx secrets: [docker_username, docker_password] settings: pull_image: true registry: git.bluemedia.dev repo: git.bluemedia.dev/bluemedia/wattpad-downloader platforms: linux/amd64 tag: latest notify: image: git.bluemedia.dev/bluemedia/woodpecker-email settings: from: from_secret: smtp_notify_email host: from_secret: smtp_notify_host username: from_secret: smtp_notify_username password: from_secret: smtp_notify_password recipients_only: true recipients: from_secret: smtp_notify_recipients when: - status: [ failure ]