Drone: only rollout docs on tag
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
aeb37d711b
commit
cae9a1acbe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user