Merge pull request 'Update .drone.yml' (#28) from mephisto-patch-1 into main
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: mephisto/clubbing-content#28
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user