From 54c5f93ffbfdb5fe71117c8f33a243c3cbdd99bb Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 18 Feb 2023 12:56:25 -0500 Subject: [PATCH] Add deployment --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index b044ef2..dea1e23 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,5 +34,17 @@ steps: tags: - latest - ${DRONE_TAG} + - name: deploy + image: plugins/ssh + settings: + host: + from_secret: unraid_host + username: + from_secret: unraid_username + key: + from_secret: unraid_ssh_key + script: + - docker pull docker.atomaka.com/atomaka.com:latest + - docker restart atomaka.com trigger: event: tag