chore(ci): remove obsolete daily-content workflow

website/ 已拆分到 u-claw.org 私有仓库,本仓库的 Daily Content Generator
工作流写入路径不存在,每天定时失败。直接删除工作流和对应脚本。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
hfshfg
2026-05-01 21:14:01 +08:00
parent 1bf5402d34
commit efeec6473e
2 changed files with 0 additions and 196 deletions

View File

@@ -1,38 +0,0 @@
name: Daily Content Generator
on:
schedule:
- cron: '0 0 * * *' # UTC 00:00 = 北京时间 08:00
workflow_dispatch: # 支持手动触发测试
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Generate daily content
env:
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
run: node .github/scripts/generate-daily.js
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add website/daily/data.json
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "chore: update daily content $(date -u '+%Y-%m-%d')"
git push
fi