From 14c44911f9b4b6c2d1a6a881b11f8c2827de57fe Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 8 Jul 2024 23:09:57 -0700 Subject: [PATCH] find -delete cannot delete non-empty directories (apparently) --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9c94362..ed3cd18 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,7 +48,9 @@ steps: image: alpine commands: - find . -not -path '.' - - find . -not -path '.' -delete + - find . -not -path '.' -exec rm -r '{}' \; + # Log out to check + - find . -not -path '.' - name: Checkout Helm Chart image: drone/git