From 76438d68112cf500b86cf7f1df13126ee6b9d0cc Mon Sep 17 00:00:00 2001 From: Brandon Watson Date: Fri, 7 Jan 2022 16:38:49 -0500 Subject: [PATCH] Separating restart step --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1f24bd0..4184354 100644 --- a/.drone.yml +++ b/.drone.yml @@ -87,6 +87,23 @@ steps: exclude: - pull_request + - name: restart homebridge + image: appleboy/drone-ssh + settings: + host: homebridge.me + username: + from_secret: elevated_ssh_user + key: + from_secret: ssh_key + port: 22 + script: + - systemctl restart homebridge + when: + event: + - tag + exclude: + - pull_request + - name: Notify image: drillster/drone-email settings: