From d3c2de7ad187687eb6d0588d96aab8613875d3ba Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Fri, 21 Jun 2024 17:43:47 -0400 Subject: [PATCH] And now a deploy step --- .drone.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.drone.yml b/.drone.yml index 8abcb42..1f0e833 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,3 +9,17 @@ steps: image: code.ndumas.com/ndumas/hugo commands: - hugo +- name: publish + depends_on: + - hugo -d /drone/src/public/ + image: drillster/drone-rsync + settings: + key: + from_secret: BLOG_DEPLOY_KEY + user: blog + delete: true + recursive: true + hosts: ["blog.ndumas.com"] + source: /drone/src/public/ + target: /var/www/blog.ndumas.com/ + include: ["*"]