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: