diff --git a/.drone.yml b/.drone.yml index 441bf45..54d3a1b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,6 +20,7 @@ steps: PASSWORD: from_secret: ftp_password commands: - - apk --no-cache add lftp + - apk --no-cache add lftp curl - cd dist - - lftp -e "mirror --delete-first -P 10 -R" -u $USERNAME,$PASSWORD storage.bunnycdn.com + - curl -X DELETE -H "AccessKey: $PASSWORD" https://storage.bunnycdn.com/vcinemaapp/ + - lftp -e "mirror -P 10 -R" -u $USERNAME,$PASSWORD storage.bunnycdn.com