Restart HASS on promote
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user