#!/bin/bash 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"