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

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

@ -1,6 +1,17 @@
workspace:
base: /srv/app
path: src
clone:
git:
image: plugins/git:1
depth: 50
tags: true
pipeline:
build:
image: node:8.1.1
image: webhippie/nodejs:latest
pull: true
commands:
- yarn install
- yarn run clean
@ -8,7 +19,10 @@ pipeline:
- yarn run release
release:
image: plugins/s3
image: plugins/s3:1
pull: true
secrets: [ s3_access_key, s3_secret_key ]
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/
source: dist/master.tar.gz
@ -18,7 +32,9 @@ pipeline:
branch: [ master ]
trigger:
image: plugins/downstream
image: plugins/downstream:1
pull: true
secrets: [ downstream_token ]
server: https://drone.gitea.io
repositories:
- go-gitea/website
@ -30,9 +46,9 @@ pipeline:
branch: [ master ]
discord:
image: appleboy/drone-discord
webhook_id: ${WEBHOOK_ID}
webhook_token: ${WEBHOOK_TOKEN}
image: appleboy/drone-discord:1.0.0
pull: true
secrets: [ discord_webhook_id, discord_webhook_token ]
when:
event: [ push, tag, pull_request ]
status: [ changed, failure ]

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

@ -1 +0,0 @@
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogbm9kZTo4LjEuMQogICAgY29tbWFuZHM6CiAgICAgIC0geWFybiBpbnN0YWxsCiAgICAgIC0geWFybiBydW4gY2xlYW4KICAgICAgLSB5YXJuIHJ1biBidWlsZAogICAgICAtIHlhcm4gcnVuIHJlbGVhc2UKCiAgcmVsZWFzZToKICAgIGltYWdlOiBwbHVnaW5zL3MzCiAgICBwYXRoX3N0eWxlOiB0cnVlCiAgICBzdHJpcF9wcmVmaXg6IGRpc3QvCiAgICBzb3VyY2U6IGRpc3QvbWFzdGVyLnRhci5negogICAgdGFyZ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