From 1cee8443b53fa1e3a067831230424264ca945a59 Mon Sep 17 00:00:00 2001 From: Dominic Grimm Date: Sat, 5 Aug 2023 18:06:20 +0200 Subject: [PATCH] Update CI --- .drone.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 83c00f5..c96506f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,12 +54,13 @@ steps: volumes: - name: cache path: /cache + - name: pages + path: /tmp/pages commands: - - ls -la - - git pull - - git checkout pages - - shopt -s extglob; rm -rf !(.git) - - ls -la + - git clone --depth 1 --branch pages https://git.dergrimm.net/dergrimm/hydroforth.git /tmp/pages_old + - cp -r /tmp/pages_old/.git /tmp/pages + - cp -r ./docs/html /tmp/pages + - ls -la /tmp/pages depends_on: - restore-cache # - name: deploy-pages @@ -83,6 +84,8 @@ volumes: - name: cache host: path: /tmp/cache + - name: pages + temp: {} depends_on: - default