diff --git a/deploy.sh b/deploy.sh index 35a63ed..5f9327c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -2,6 +2,7 @@ cp geofeed.csv dist +ncftp -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER -c "rmdir -r *" ncftpput -R -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER . dist/* curl -H "AccessKey: $ACCESS_KEY" "https://api.bunny.net/purge?url=https%3A%2F%2Fdn42.m724.eu&async=false"