Add drone fix 15/?: try to control Hugo through environment variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ea753fdfe7
commit
5e6d97ab36
|
@ -16,14 +16,15 @@ steps:
|
|||
- name: build-live
|
||||
image: klakegg/hugo:ext-alpine
|
||||
commands:
|
||||
- unset HUGO_DESTINATION
|
||||
- hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output
|
||||
- hugo -D --baseUrl "http://danilafe.com:8080"
|
||||
- ls -la
|
||||
- ls -la /live-output
|
||||
- ls -la /target
|
||||
volumes:
|
||||
- name: live-output
|
||||
path: /live-output
|
||||
environment:
|
||||
HUGO_DESTINATION: /live-output
|
||||
- name: upload-live
|
||||
image: eeacms/rsync
|
||||
commands:
|
||||
|
|
Loading…
Reference in New Issue
Block a user