diff options
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 866d8ebe43..5c7f9f8e21 100644 --- a/.drone.yml +++ b/.drone.yml @@ -180,6 +180,37 @@ pipeline: when: event: [ push, tag ] + build_docs: + image: webhippie/hugo:latest + pull: true + commands: + - cd docs + - make trans-copy + - make clean + - make build + + docker: + image: plugins/docker:17.05 + pull: true + secrets: [ docker_username, docker_password ] + repo: gitea/docs + dockerfile: docs/Dockerfile + tags: [ '${DRONE_BRANCH##release/v}' ] + when: + event: [ push ] + branch: [ release/* ] + + docker: + image: plugins/docker:17.05 + pull: true + secrets: [ docker_username, docker_password ] + repo: gitea/docs + dockerfile: docs/Dockerfile + tags: [ 'latest' ] + when: + event: [ push ] + branch: [ master ] + docker: image: plugins/docker:17.05 pull: true |