From 6014a5f5b03546ea49a58e7ac673e6adeac73afa Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Fri, 16 Feb 2018 06:13:52 -0600 Subject: [PATCH] disable cdn purge, just allow 4 hrs to time out --- scripts/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index dcbda6424..874423555 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -22,8 +22,8 @@ sshpass -p $FTP_PASSWORD scp -o StrictHostKeyChecking=no -r /home/travis/build/c sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'sudo systemctl restart filterlists.web.service' #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 10 +#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 10 #prime app -curl https://beta.filterlists.com/ \ No newline at end of file +#curl https://beta.filterlists.com/ \ No newline at end of file