kasperhermansen-blog/.drone.yml

28 lines
618 B
YAML
Raw Normal View History

2022-05-22 22:55:13 +02:00
kind: pipeline
name: default
type: docker
steps:
2022-05-22 23:08:17 +02:00
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
2022-05-22 22:55:13 +02:00
- 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:
2022-05-22 22:56:24 +02:00
- blog
2022-05-22 22:55:13 +02:00
when:
2022-05-23 08:53:18 +02:00
status: [failure, success]