Add drone fix 5/?: add debug output and skip compiler build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danila Fedorin 2020-02-29 22:42:19 -08:00
parent db8a050bdf
commit 2a1ad171c0

View File

@ -7,16 +7,17 @@ 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:
- hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output - hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output
- ls -la /live-output
volumes: volumes:
- name: live-output - name: live-output
path: /live-output path: /live-output
@ -27,6 +28,7 @@ steps:
- echo "$CUSTOM_KEY" | ssh-add - - echo "$CUSTOM_KEY" | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- ls -la /live-output
- rsync -rv -e "ssh -p 22" /live-output blog-live@danilafe.com:/var/www/blog-live --checksum - rsync -rv -e "ssh -p 22" /live-output blog-live@danilafe.com:/var/www/blog-live --checksum
environment: environment:
CUSTOM_KEY: CUSTOM_KEY: