34 lines
848 B
YAML
34 lines
848 B
YAML
when:
|
|
- path:
|
|
include: [ '.woodpecker/wattpad-downloader.yaml' ]
|
|
|
|
skip_clone: true
|
|
|
|
steps:
|
|
clone:
|
|
image: alpine/git
|
|
commands:
|
|
- git clone 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: deblan/woodpecker-email
|
|
settings:
|
|
from.address:
|
|
from_secret: smtp_notify_email
|
|
from.name: Woodpecker CI
|
|
host:
|
|
from_secret: smtp_notify_host
|
|
username:
|
|
from_secret: smtp_notify_email
|
|
password:
|
|
from_secret: smtp_notify_password
|
|
when:
|
|
- status: [ failure ] |