2024-10-11 11:19:34 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-11 11:36:16 +02:00
|
|
|
cp geofeed.csv dist
|
2024-10-11 11:19:34 +02:00
|
|
|
|
2024-10-11 11:52:33 +02:00
|
|
|
ncftp -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER -c "rm -r *"
|
2024-10-11 11:44:16 +02:00
|
|
|
ncftpput -R -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER . dist/*
|
2024-10-11 11:19:34 +02:00
|
|
|
|
|
|
|
curl -H "AccessKey: $ACCESS_KEY" "https://api.bunny.net/purge?url=https%3A%2F%2Fdn42.m724.eu&async=false"
|