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
|
- name: build-live
|
||||||
image: klakegg/hugo:ext-alpine
|
image: klakegg/hugo:ext-alpine
|
||||||
commands:
|
commands:
|
||||||
- unset HUGO_DESTINATION
|
- hugo -D --baseUrl "http://danilafe.com:8080"
|
||||||
- hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output
|
|
||||||
- ls -la
|
- ls -la
|
||||||
- ls -la /live-output
|
- ls -la /live-output
|
||||||
- ls -la /target
|
- ls -la /target
|
||||||
volumes:
|
volumes:
|
||||||
- name: live-output
|
- name: live-output
|
||||||
path: /live-output
|
path: /live-output
|
||||||
|
environment:
|
||||||
|
HUGO_DESTINATION: /live-output
|
||||||
- name: upload-live
|
- name: upload-live
|
||||||
image: eeacms/rsync
|
image: eeacms/rsync
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user