Add drone fix 15/?: try to control Hugo through environment variable
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danila Fedorin 2020-02-29 23:13:59 -08:00
parent ea753fdfe7
commit 5e6d97ab36
1 changed files with 3 additions and 2 deletions

View File

@ -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: