From f561abdd1029a2c004eb20a79d035968b0516301 Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sun, 3 Jan 2021 05:33:35 +0000 Subject: [PATCH] Fix removal of old files upon deploy --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 441bf45..753f956 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,4 +22,5 @@ steps: commands: - apk --no-cache add lftp - cd dist - - lftp -e "mirror --delete-first -P 10 -R" -u $USERNAME,$PASSWORD storage.bunnycdn.com + - lftp -e "rm -rf /" -u $USERNAME,$PASSWORD storage.bunnycdn.com + - lftp -e "mirror -P 10 -R" -u $USERNAME,$PASSWORD storage.bunnycdn.com