dn42-info/deploy.sh
Minecon724 174ebca34b
All checks were successful
/ deploy (push) Successful in 39s
My mistake once again
2024-10-11 11:52:33 +02:00

8 lines
265 B
Bash

#!/bin/bash
cp geofeed.csv dist
ncftp -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER -c "rm -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"