find -delete cannot delete non-empty directories (apparently)

This commit is contained in:
Jack Jackson 2024-07-08 23:09:57 -07:00
parent 4b05b76070
commit 14c44911f9

View File

@ -48,7 +48,9 @@ steps:
image: alpine image: alpine
commands: commands:
- find . -not -path '.' - find . -not -path '.'
- find . -not -path '.' -delete - find . -not -path '.' -exec rm -r '{}' \;
# Log out to check
- find . -not -path '.'
- name: Checkout Helm Chart - name: Checkout Helm Chart
image: drone/git image: drone/git