Restart HASS on promote
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-03 11:31:57 +01:00
parent fc8c2b96cd
commit 9b446de70c

View File

@@ -80,6 +80,16 @@ steps:
- name: containers
path: /var/lib/containers
- name: deploy
image: bitnami/kubectl:1.23
environment:
KUBECONFIG:
from_secret: kubeconfig
commands:
- echo "$${KUBECONFIG}" > kubeconfig
- kubectl --kubeconfig=kubeconfig -n hass rollout restart deployment/hass
- kubectl --kubeconfig=kubeconfig -n hass rollout status deployment/hass
trigger:
event:
- promote