Compare commits

...

1 Commits

Author SHA1 Message Date
fb76e4eb52 Fix removal of old files upon deploy
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-03 05:53:58 +00:00

View File

@ -20,6 +20,7 @@ steps:
PASSWORD: PASSWORD:
from_secret: ftp_password from_secret: ftp_password
commands: commands:
- apk --no-cache add lftp - apk --no-cache add lftp curl
- cd dist - 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'