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
|
from_secret: KNOWN_HOST
|
||||||
- name: run hugo
|
- name: run hugo
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
environment:
|
||||||
|
HOST_ROOT:
|
||||||
|
from_secret: HUGO_ROOT
|
||||||
settings:
|
settings:
|
||||||
host:
|
host:
|
||||||
from_secret: SSH_HOST
|
from_secret: SSH_HOST
|
||||||
@@ -45,9 +48,11 @@ steps:
|
|||||||
known_hosts:
|
known_hosts:
|
||||||
from_secret: KNOWN_HOST
|
from_secret: KNOWN_HOST
|
||||||
script:
|
script:
|
||||||
- cd $${HUGO_ROOT}
|
- echo [ HUGO_ROOT ]
|
||||||
|
- echo $HUGO_ROOT
|
||||||
|
- echo ${HUGO_ROOT}
|
||||||
|
- cd $HUGO_ROOT
|
||||||
- hugo
|
- hugo
|
||||||
secrets: [ HUGO_ROOT ]
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user