docs: add ghcr package downloads trend chart page and build-time scraper

This commit is contained in:
duorameng
2026-06-30 17:11:23 +08:00
parent cdf1f7a1ca
commit aafaa74689
5 changed files with 2206 additions and 2651 deletions
+5
View File
@@ -4,6 +4,8 @@ on:
push:
branches: [main, docs]
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
permissions:
contents: read
@@ -47,6 +49,9 @@ jobs:
run: npm ci
working-directory: docs
- name: Fetch Package Download Stats
run: node docs/fetch-stats.js
- name: Build with VitePress
run: npm run docs:build
working-directory: docs