feat: auto-track GitHub Releases, extract icons/stars/downloads, purge CDN, simplify README
This commit is contained in:
1 parent
56dd35276f
commit
1be15e1ab6
4 files changed
+381
-293
No files matched your search
@@ -8,7 +8,7 @@ on:
|
||||
- 'withdrawn.json'
|
||||
- 'scripts/**'
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
- cron: '0 */2 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -92,3 +92,8 @@ jobs:
|
||||
git push --force origin dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Purge jsDelivr CDN cache
|
||||
run: |
|
||||
curl -fsS "https://purge.jsdelivr.net/gh/${GITHUB_REPOSITORY}@dist/index.json" || true
|
||||
curl -fsS "https://purge.jsdelivr.net/gh/${GITHUB_REPOSITORY}@dist/changes.json" || true
|
||||
Reference in new issue
Block a user