Skip to content

Commit

Permalink
purge cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
ElonJunior committed May 3, 2024
1 parent bd7087b commit bdf6cac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
- name: Purge jsdelivr CDN
run: |
cd sing-rule || exit 1
for file in $(ls); do
curl -i -Ls "https://purge.jsdelivr.net/gh/${{ github.repository }}@sing/${file}"
for file in $(ls * */*); do
if [[ $file = *".json" || $file = *".srs" ]]; then
curl -i -Ls "https://purge.jsdelivr.net/gh/${{ github.repository }}@sing/${file}"
fi
done

0 comments on commit bdf6cac

Please sign in to comment.