Compare commits

..

1 Commits

Author SHA1 Message Date
Jack Hadrill f561abdd10 Fix removal of old files upon deploy
continuous-integration/drone/push Build was killed Details
2021-01-03 05:35:50 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ steps:
PASSWORD:
from_secret: ftp_password
commands:
- apk --no-cache add lftp curl
- apk --no-cache add lftp
- cd dist
- curl -X DELETE -H "AccessKey: $PASSWORD" https://storage.bunnycdn.com/vcinemaapp/
- lftp -e "rm -rf /" -u $USERNAME,$PASSWORD storage.bunnycdn.com
- lftp -e "mirror -P 10 -R" -u $USERNAME,$PASSWORD storage.bunnycdn.com