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.
This commit is contained in:
Thomas Boerger 2016-12-26 09:20:01 +01:00 коммит произвёл Kim "BKC" Carlbäcker
Родитель cbe23fc5dd
Коммит 22820443f9
2 изменённых файлов: 6 добавлений и 16 удалений

Просмотреть файл

@ -9,31 +9,21 @@ pipeline:
- make clean
- make build
checks:
image: webhippie/linkchecker:latest
commands:
- linkchecker -v http://localhost:8080
docker:
image: plugins/docker
repo: gitea/blog
tags: [ '${TAG}' ]
tags: [ '${DRONE_BRANCH##release/v}' ]
when:
event: tag
branch: refs/tags/*
event: [ push ]
branch: [ release/* ]
docker:
image: plugins/docker
repo: gitea/blog
tags: [ 'latest' ]
when:
event: push
branch: master
event: [ push ]
branch: [ master ]
gitter:
image: plugins/gitter
services:
server:
image: webhippie/caddy:latest
command: [/usr/sbin/caddy, -port, 8080, -root, /drone/src/public]

Просмотреть файл

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIHBhdGg6IHNyYwoKcGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogd2ViaGlwcGllL2h1Z286bGF0ZXN0CiAgICBwdWxsOiB0cnVlCiAgICBjb21tYW5kczoKICAgICAgLSBtYWtlIGNsZWFuCiAgICAgIC0gbWFrZSBidWlsZAoKICBjaGVja3M6CiAgICBpbWFnZTogd2ViaGlwcGllL2xpbmtjaGVja2VyOmxhdGVzdAogICAgY29tbWFuZHM6CiAgICAgIC0gbGlua2NoZWNrZXIgLXYgaHR0cDovL2xvY2FsaG9zdDo4MDgwCgogIGRvY2tlcjoKICAgIGltYWdlOiBwbHVnaW5zL2RvY2tlcgogICAgcmVwbzogZ2l0ZWEvYmxvZwogICAgdGFnczogWyAnJHtUQUd9JyBdCiAgICB3aGVuOgogICAgICBldmVudDogdGFnCiAgICAgIGJyYW5jaDogcmVmcy90YWdzLyoKCiAgZG9ja2VyOgogICAgaW1hZ2U6IHBs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