Add drone fix 13/?: try to figure out where Hugo puts files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danila Fedorin 2020-02-29 23:10:13 -08:00
parent f8adac8b76
commit 1db8a24b4d

View File

@ -7,17 +7,19 @@ volumes:
temp: {} temp: {}
steps: steps:
- name: test-compiler # - name: test-compiler
image: archlinux # image: archlinux
commands: # commands:
- pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm # - pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm
- cd code/compiler # - cd code/compiler
- ./test.sh # - ./test.sh
- name: build-live - name: build-live
image: klakegg/hugo:ext-alpine image: klakegg/hugo:ext-alpine
commands: commands:
- unset HUGO_DESTINATION - unset HUGO_DESTINATION
- hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output - hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output
- ls -la /live-output
- ls -la /target
volumes: volumes:
- name: live-output - name: live-output
path: /live-output path: /live-output