blog/.drone.yml
Thomas Boerger 22820443f9 Added branch handling and dropped linkchecker
Linkchecker anyway won't work anymore because we got only absolute links
so it's useless to waste these resources.
2016-12-26 09:56:47 +01:00

30 lines
479 B
YAML

workspace:
path: src
pipeline:
build:
image: webhippie/hugo:latest
pull: true
commands:
- make clean
- make build
docker:
image: plugins/docker
repo: gitea/blog
tags: [ '${DRONE_BRANCH##release/v}' ]
when:
event: [ push ]
branch: [ release/* ]
docker:
image: plugins/docker
repo: gitea/blog
tags: [ 'latest' ]
when:
event: [ push ]
branch: [ master ]
gitter:
image: plugins/gitter