From 4fc6c360e23597b60cfe0491e0b6e37bdafd75bc Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Sun, 11 Jun 2023 12:43:51 +0200 Subject: [PATCH] update drone.yml --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index fc43e8f..e77632f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,11 +5,9 @@ steps: - name: ssh image: appleboy/drone-ssh settings: - host: - - homelab-blog.lan + host: homelab-blog.lan username: root - key: - from_secret: ssh_key + key_path: /root/.ssh/id_rsa port: 22 command_timeout: 2m script: @@ -19,6 +17,10 @@ steps: # - ln -s /home/hebron/hugo_resources/production resources - hugo --gc --minify -b https://blog.broillet.ch/ +volumes: +- name: ssh_key + host: + path: /root/.ssh/id_rsa # - name: vps-deploy # commands: