diff --git a/.drone.yml b/.drone.yml index ebdad4e..425ca7a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,3 +30,16 @@ steps: tags: - 'v1.0' - 'latest' + + + # deploy to kubernetes + - image: 'bitnami/kubectl' + name: 'deploy' + pull: 'always' + environment: + KUBE_CONFIG: + from_secret: 'kube_config' + + commands: + - 'echo $KUBE_CONFIG >> $HOME/.kube/config' + - 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '