diff options
author | techknowlogick <techknowlogick@users.noreply.github.com> | 2017-11-26 16:44:32 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-11-26 23:44:32 +0200 |
commit | fb5c6b644460f94acb8976ad35165230b9d47fb2 (patch) | |
tree | 3811cb3807a9f666e77743cc0fc8bcea4276f421 /.drone.yml | |
parent | f148a4a1ed55c75d391930865185fb7bfbee03ba (diff) | |
download | gitea-fb5c6b644460f94acb8976ad35165230b9d47fb2.tar.gz gitea-fb5c6b644460f94acb8976ad35165230b9d47fb2.zip |
Import docs into main repository (#2874)
* import docs into main repository
Signed-off-by: Matti Ranta <matti@mdranta.net>
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 |