28 lines
609 B
YAML
28 lines
609 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
steps:
|
|
- name: submodules
|
|
image: alpine/git
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
- name: blog
|
|
image: plugins/docker
|
|
settings:
|
|
username: kasperhermansen
|
|
password:
|
|
from_secret:
|
|
docker_secret
|
|
repo: kasperhermansen/kasperhermansen-blog
|
|
tags: latest
|
|
- name: send telegram notification
|
|
image: appleboy/drone-telegram
|
|
settings:
|
|
token:
|
|
from_secret: telegram_token
|
|
to: 2129601481
|
|
format: markdown
|
|
depends_on:
|
|
- blog
|
|
when:
|
|
status: [failure] |