From 1ff67341a1114ec573455732cf0ebafe8209eab6 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 26 Apr 2020 19:57:50 -0700 Subject: [PATCH] Disable live uploading while the new server doesn't accept the files. --- .drone.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1c6dd94..80ba8ad 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,17 +22,17 @@ steps: path: /live-output environment: HUGO_DESTINATION: /live-output - - name: upload-live - image: eeacms/rsync - commands: - - eval `ssh-agent -s` - - echo "$CUSTOM_KEY" | ssh-add - - - mkdir -p ~/.ssh - - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - - rsync -rv -e "ssh -p 22" /live-output/ blog-live@danilafe.com:/var/www/blog-live/ --checksum - environment: - CUSTOM_KEY: - from_secret: live_ssh_key - volumes: - - name: live-output - path: /live-output +# - name: upload-live +# image: eeacms/rsync +# commands: +# - eval `ssh-agent -s` +# - echo "$CUSTOM_KEY" | ssh-add - +# - mkdir -p ~/.ssh +# - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config +# - rsync -rv -e "ssh -p 22" /live-output/ blog-live@danilafe.com:/var/www/blog-live/ --checksum +# environment: +# CUSTOM_KEY: +# from_secret: live_ssh_key +# volumes: +# - name: live-output +# path: /live-output