Added GitHub Actions workflow for clearing JSdelivr cache
This commit is contained in:
@@ -134,7 +134,5 @@ jobs:
|
||||
- name: Purge JSdelivr Cache
|
||||
run: |
|
||||
for i in {1..50}; do
|
||||
url="https://purge.jsdelivr.net/gh/NianBroken/ZFCheckScores/img/$i.png"
|
||||
response=$(curl -X PURGE $url -w "%{http_code}")
|
||||
echo "Purging $url - Response: $response"
|
||||
curl -I https://purge.jsdelivr.net/gh/NianBroken/ZFCheckScores/img/$i.png
|
||||
done
|
||||
Reference in New Issue
Block a user