mirror of
https://github.com/KaringX/karing-ruleset.git
synced 2025-06-08 20:24:13 +08:00
purge cdn
This commit is contained in:
parent
bd7087b4ad
commit
bdf6cac07e
6
.github/workflows/run.yml
vendored
6
.github/workflows/run.yml
vendored
@ -61,6 +61,8 @@ jobs:
|
|||||||
- name: Purge jsdelivr CDN
|
- name: Purge jsdelivr CDN
|
||||||
run: |
|
run: |
|
||||||
cd sing-rule || exit 1
|
cd sing-rule || exit 1
|
||||||
for file in $(ls); do
|
for file in $(ls * */*); do
|
||||||
curl -i -Ls "https://purge.jsdelivr.net/gh/${{ github.repository }}@sing/${file}"
|
if [[ $file = *".json" || $file = *".srs" ]]; then
|
||||||
|
curl -i -Ls "https://purge.jsdelivr.net/gh/${{ github.repository }}@sing/${file}"
|
||||||
|
fi
|
||||||
done
|
done
|
Loading…
x
Reference in New Issue
Block a user