dn42-info/deploy.sh
Minecon724 5c8103e84e
All checks were successful
/ deploy (push) Successful in 39s
another try
2024-10-11 12:19:35 +02:00

8 lines
268 B
Bash

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