diff --git a/.drone.yml b/.drone.yml index f3f11e7..e33c1ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: