This commit is contained in:
Thomas Boerger 2017-08-22 19:09:29 +02:00
Родитель 0a31ea51b9
Коммит 70aad0f583
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5A388F55283960B6
2 изменённых файлов: 14 добавлений и 6 удалений

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

@ -1,6 +1,13 @@
workspace: workspace:
base: /srv/app
path: src path: src
clone:
git:
image: plugins/git:1
depth: 50
tags: true
pipeline: pipeline:
build: build:
image: webhippie/hugo:latest image: webhippie/hugo:latest
@ -11,8 +18,9 @@ pipeline:
- make build - make build
docker: docker:
image: plugins/docker image: plugins/docker:17.05
pull: true pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/docs repo: gitea/docs
tags: [ '${DRONE_BRANCH##release/v}' ] tags: [ '${DRONE_BRANCH##release/v}' ]
when: when:
@ -20,8 +28,9 @@ pipeline:
branch: [ release/* ] branch: [ release/* ]
docker: docker:
image: plugins/docker image: plugins/docker:17.05
pull: true pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/docs repo: gitea/docs
tags: [ 'latest' ] tags: [ 'latest' ]
when: when:
@ -29,9 +38,9 @@ pipeline:
branch: [ master ] branch: [ master ]
discord: discord:
image: appleboy/drone-discord image: appleboy/drone-discord:1.0.0
webhook_id: ${WEBHOOK_ID} pull: true
webhook_token: ${WEBHOOK_TOKEN} secrets: [ discord_webhook_id, discord_webhook_token ]
when: when:
event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
status: [ changed, failure ] status: [ changed, failure ]

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

@ -1 +0,0 @@
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIHBhdGg6IHNyYwoKcGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogd2ViaGlwcGllL2h1Z286bGF0ZXN0CiAgICBwdWxsOiB0cnVlCiAgICBjb21tYW5kczoKICAgICAgLSBtYWtlIHRyYW5zLWNvcHkKICAgICAgLSBtYWtlIGNsZWFuCiAgICAgIC0gbWFrZSBidWlsZAoKICBkb2NrZXI6CiAgICBpbWFnZTogcGx1Z2lucy9kb2NrZXIKICAgIHB1bGw6IHRydWUKICAgIHJlcG86IGdpdGVhL2RvY3MKICAgIHRhZ3M6IFsgJyR7RFJPTkVfQlJBTkNIIyNyZWxlYXNlL3Z9JyBdCiAgICB3aGVuOgogICAgICBldmVudDogWyBwdXNoIF0KICAgICAgYnJhbmNoOiBbIHJlbGVhc2UvKiBdCgogIGRvY2tlcjoKICAgIGltYWdlOiBwbHVnaW5zL2RvY2tlcgogICAgcHVsbDogdHJ1ZQogICAgcmVwbzogZ2l0ZWEvZG9jcwogICAgdGFnczogWyAnbGF0ZXN0JyBdCiAgICB3aGVuOgogICAgICBldmVudDogWyBwdXNoIF0KICAgICAgYnJhbmNoOiBbIG1hc3RlciBdCgogIGRpc2NvcmQ6CiAgICBpbWFnZTogYXBwbGVib3kvZHJvbmUtZGlzY29yZAogICAgd2ViaG9va19pZDogJHtXRUJIT09LX0lEfQogICAgd2ViaG9va190b2tlbjogJHtXRUJIT09LX1RPS0VOfQogICAgd2hlbjoKICAgICAgZXZlbnQ6IFsgcHVzaCwgdGFnLCBwdWxsX3JlcXVlc3QgXQogICAgICBzdGF0dXM6IFsgY2hhbmdlZCwgZmFpbHVyZSBdCg.YT-mG1FPkF0I4MNILeUdsE2tPWA1m-TAlmKPfgAn83I