diff options
author | Thomas Boerger <thomas@webhippie.de> | 2018-07-11 16:43:33 +0200 |
---|---|---|
committer | Jonas Franz <info@jonasfranz.software> | 2018-07-11 16:43:33 +0200 |
commit | d84490a0df308f0783637e39bf5302128f9f8584 (patch) | |
tree | eb49f2408e4b0648567844a57872ed6f975af089 /.drone.yml | |
parent | c2ec38f9b70157ae08867190b2d2b23efd1d4cb0 (diff) | |
download | gitea-d84490a0df308f0783637e39bf5302128f9f8584.tar.gz gitea-d84490a0df308f0783637e39bf5302128f9f8584.zip |
Replaced docker docs with netlify deployment (#4420)
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/.drone.yml b/.drone.yml index d9bccddcae..d7226bd6a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -203,7 +203,7 @@ pipeline: when: event: [ push, tag ] - build_docs: + build-docs: image: webhippie/hugo:latest pull: true commands: @@ -212,26 +212,12 @@ pipeline: - make clean - make build - docker_docs: - image: plugins/docker:17.05 + publish-docs: + image: lucap/drone-netlify:latest pull: true - secrets: [ docker_username, docker_password ] - repo: gitea/docs - context: docs - dockerfile: docs/Dockerfile - tags: [ '${DRONE_BRANCH##release/v}' ] - when: - event: [ push ] - branch: [ release/* ] - - docker_docs: - image: plugins/docker:17.05 - pull: true - secrets: [ docker_username, docker_password ] - repo: gitea/docs - context: docs - dockerfile: docs/Dockerfile - tags: [ 'latest' ] + secrets: [ netlify_token ] + site_id: 05515f14-3702-4a84-9ff3-88ba90fe08dd + path: docs/public/ when: event: [ push ] branch: [ master ] |