mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
sleep before prime to get fresh from CDN
This commit is contained in:
parent
246e4d9ca6
commit
97dd549dad
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'su
|
|||
|
||||
#purge CDN
|
||||
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/$CF_FILTERLISTS_ZONE/purge_cache" -H "X-Auth-Email: $CF_EMAIL" -H "X-Auth-Key: $CF_GLOBAL_API_KEY" -H "Content-Type: application/json" --data '{"purge_everything":true}'
|
||||
sleep 30
|
||||
|
||||
#prime app
|
||||
curl https://beta.filterlists.com/
|
||||
Loading…
Reference in a new issue