update drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mathieu Broillet 2023-06-11 12:43:51 +02:00
parent ecb1f6e4d4
commit 4fc6c360e2
Signed by: mathieu
GPG Key ID: A08E484FE95074C1

View File

@ -5,11 +5,9 @@ steps:
- name: ssh - name: ssh
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: host: homelab-blog.lan
- homelab-blog.lan
username: root username: root
key: key_path: /root/.ssh/id_rsa
from_secret: ssh_key
port: 22 port: 22
command_timeout: 2m command_timeout: 2m
script: script:
@ -19,6 +17,10 @@ steps:
# - ln -s /home/hebron/hugo_resources/production resources # - ln -s /home/hebron/hugo_resources/production resources
- hugo --gc --minify -b https://blog.broillet.ch/ - hugo --gc --minify -b https://blog.broillet.ch/
volumes:
- name: ssh_key
host:
path: /root/.ssh/id_rsa
# - name: vps-deploy # - name: vps-deploy
# commands: # commands: