Fix removal of old files upon deploy
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Jack Hadrill 2021-01-03 05:33:35 +00:00
parent cb7d392739
commit f561abdd10
1 changed files with 2 additions and 1 deletions

View File

@ -22,4 +22,5 @@ steps:
commands: commands:
- apk --no-cache add lftp - apk --no-cache add lftp
- cd dist - 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