2016-11-08 18:13:24 +05:30
|
|
|
workspace:
|
|
|
|
path: src
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: webhippie/hugo:latest
|
2016-11-10 16:35:01 +05:30
|
|
|
pull: true
|
2016-11-08 18:13:24 +05:30
|
|
|
commands:
|
2016-12-25 08:02:55 +05:30
|
|
|
- make trans-copy
|
2016-12-12 19:06:33 +05:30
|
|
|
- make clean
|
2016-11-10 16:31:21 +05:30
|
|
|
- make build
|
2016-11-08 18:13:24 +05:30
|
|
|
|
|
|
|
docker:
|
|
|
|
image: plugins/docker
|
2017-06-05 19:37:04 +05:30
|
|
|
pull: true
|
2016-11-08 18:13:24 +05:30
|
|
|
repo: gitea/website
|
2016-12-26 13:49:55 +05:30
|
|
|
tags: [ '${DRONE_BRANCH##release/v}' ]
|
2016-11-08 18:13:24 +05:30
|
|
|
when:
|
2016-12-26 13:49:55 +05:30
|
|
|
event: [ push ]
|
|
|
|
branch: [ release/* ]
|
2016-11-08 18:13:24 +05:30
|
|
|
|
|
|
|
docker:
|
|
|
|
image: plugins/docker
|
2017-06-05 19:37:04 +05:30
|
|
|
pull: true
|
2016-11-08 18:13:24 +05:30
|
|
|
repo: gitea/website
|
|
|
|
tags: [ 'latest' ]
|
|
|
|
when:
|
2016-12-26 13:49:55 +05:30
|
|
|
event: [ push ]
|
|
|
|
branch: [ master ]
|
2016-11-08 18:13:24 +05:30
|
|
|
|
2017-06-16 08:20:51 +05:30
|
|
|
discord:
|
|
|
|
image: appleboy/drone-discord
|
|
|
|
webhook_id: ${WEBHOOK_ID}
|
|
|
|
webhook_token: ${WEBHOOK_TOKEN}
|
|
|
|
when:
|
|
|
|
event: [ push, tag, pull_request ]
|
|
|
|
status: [ changed, failure ]
|