added ai评论

This commit is contained in:
Vaica committed 2026-01-30 21:11:05 +08:00
1 parent 9687256c7d
commit 7b40fb26fa
152 files changed
+2323 -1277

No files matched your search

+16
View File
@@ -38,6 +38,22 @@ jobs:
- name: Install Node.js dependencies
run: npm install
- name: Generate AI Comments
env:
SILICONFLOW_API_KEY: ${{ secrets.SILICONFLOW_API_KEY }}
AI_PROVIDER: siliconflow
run: node scripts/ai_comment.js
- name: Commit AI Comments
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add content/post
if ! git diff-index --quiet HEAD; then
git commit -m "chore: auto-generate ai comments [skip ci]"
git push
fi
- name: Generate Friend Circle Data
run: node scripts/generate_circle_data.js