From 2a1ad171c0afc7330c51cbe49e4204336b89acc8 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 29 Feb 2020 22:42:19 -0800 Subject: [PATCH] Add drone fix 5/?: add debug output and skip compiler build --- .drone.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2d4fbe2..b4caa7e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,16 +7,17 @@ volumes: temp: {} steps: - - name: test-compiler - image: archlinux - commands: - - pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm - - cd code/compiler - - ./test.sh +# - name: test-compiler +# image: archlinux +# commands: +# - pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm +# - cd code/compiler +# - ./test.sh - name: build-live image: klakegg/hugo:ext-alpine commands: - hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output + - ls -la /live-output volumes: - name: live-output path: /live-output @@ -27,6 +28,7 @@ steps: - echo "$CUSTOM_KEY" | ssh-add - - mkdir -p ~/.ssh - 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 environment: CUSTOM_KEY: