Update .drone.yml

This commit is contained in:
Bastian Mäuser
2025-06-16 11:44:28 +02:00
parent bc7e7a3397
commit bddac62bb0

View File

@@ -34,6 +34,9 @@ steps:
from_secret: KNOWN_HOST
- name: run hugo
image: appleboy/drone-ssh
environment:
HOST_ROOT:
from_secret: HUGO_ROOT
settings:
host:
from_secret: SSH_HOST
@@ -45,9 +48,11 @@ steps:
known_hosts:
from_secret: KNOWN_HOST
script:
- cd $${HUGO_ROOT}
- echo [ HUGO_ROOT ]
- echo $HUGO_ROOT
- echo ${HUGO_ROOT}
- cd $HUGO_ROOT
- hugo
secrets: [ HUGO_ROOT ]
trigger:
branch: