1
0
mirror of https://github.com/MetaCubeX/meta-rules-dat.git synced 2025-11-03 17:46:54 +08:00

Revert "Feat: deprecate jsDelivr links"

This reverts commit 89dc99780a.
This commit is contained in:
Loyalsoldier
2022-08-30 21:03:20 +08:00
parent 89dc99780a
commit a42e1fc7eb
2 changed files with 47 additions and 13 deletions

View File

@@ -205,3 +205,10 @@ jobs:
git commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f -u origin release
- name: Purge jsdelivr CDN
run: |
cd publish || exit 1
for file in $(ls); do
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@release/${file}"
done