diff --git a/.drone.yml b/.drone.yml index 0b7a58f..77480d7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,6 +13,8 @@ services: privileged: true environment: DOCKER_TLS_CERTDIR: "" + when: + event: tag steps: - name: typedoc build @@ -33,12 +35,18 @@ steps: DOCKER_HOST: tcp://localhost:2375 DOCKER_REGISTRY: from_secret: DOCKER_REGISTRY + when: + event: tag + status: success - name: k8s rollout image: bitnami/kubectl commands: - cd docs/deploy && kubectl apply -f . - kubectl rollout restart -n extollo deployment/docs + when: + event: tag + status: success --- kind: pipeline