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

Feat: deprecate jsDelivr links

This commit is contained in:
Loyalsoldier
2022-05-21 10:50:17 +08:00
parent 6a45361741
commit 89dc99780a
2 changed files with 13 additions and 47 deletions

View File

@@ -205,10 +205,3 @@ 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