diff --git a/.woodpecker/matrix-media-repo.yaml b/.woodpecker/matrix-media-repo.yaml index 5553aca..6c112a7 100644 --- a/.woodpecker/matrix-media-repo.yaml +++ b/.woodpecker/matrix-media-repo.yaml @@ -1,6 +1,5 @@ when: - branch: main - event: [ push, manual, cron ] path: include: [ '.woodpecker/matrix-media-repo.yaml' ] diff --git a/.woodpecker/wattpad-downloader.yaml b/.woodpecker/wattpad-downloader.yaml index 9d20a0c..700825c 100644 --- a/.woodpecker/wattpad-downloader.yaml +++ b/.woodpecker/wattpad-downloader.yaml @@ -1,6 +1,5 @@ when: - branch: main - event: [ push, manual, cron ] path: include: [ '.woodpecker/wattpad-downloader.yaml' ] diff --git a/.woodpecker/woodpecker-email.yaml b/.woodpecker/woodpecker-email.yaml new file mode 100644 index 0000000..bfd8058 --- /dev/null +++ b/.woodpecker/woodpecker-email.yaml @@ -0,0 +1,37 @@ +when: + - branch: main + path: + include: [ '.woodpecker/woodpecker-email.yaml' ] + +skip_clone: true + +steps: + clone: + image: alpine/git + commands: + - git clone --depth 1 --branch master https://gitnet.fr/deblan/woodpecker-email.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/woodpecker-email + platforms: linux/amd64, linux/arm64/v8 + 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 ] \ No newline at end of file