From 10d6d1bde2ca9a826c77297f5de68d68eb40abfe Mon Sep 17 00:00:00 2001 From: eric Liu Date: Mon, 18 Sep 2023 03:59:54 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8fb41d4..79c04c0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ steps: - chmod 400 $HOME/.ssh/id_rsa - ssh-keyscan -H git.ericxliu.me > $HOME/.ssh/known_hosts - git clone --branch gitea-pages git@git.ericxliu.me:eric/ericxliu-me.git /output - - rm -rf /output/* + - find /output -mindepth 1 -not -regex "^\./\.git.*" -delete - name: build image: plugins/hugo volumes: