删除 git actions 的相关配置
This commit is contained in:
25
README.md
25
README.md
@@ -36,7 +36,7 @@
|
||||
python -m daily push output\2026-07-03.wecom.md # 只推送
|
||||
```
|
||||
|
||||
Linux / macOS / CI 等价脚本:
|
||||
Linux / macOS 等价脚本:
|
||||
|
||||
```bash
|
||||
chmod +x run-daily.sh
|
||||
@@ -49,28 +49,7 @@ chmod +x run-daily.sh
|
||||
|
||||
---
|
||||
|
||||
## 部署(GitHub Actions / Docker)
|
||||
|
||||
### GitHub Actions(零服务器定时推送)
|
||||
|
||||
仓库已包含 [`.github/workflows/daily.yml`](.github/workflows/daily.yml),默认每天 **08:30(北京时间)** 生成并推送。
|
||||
|
||||
1. Fork 或启用本仓库的 Actions
|
||||
2. **Settings → Secrets and variables → Actions** 添加 Secrets:
|
||||
|
||||
| Secret | 必需 | 说明 |
|
||||
|--------|------|------|
|
||||
| `WECOM_WEBHOOK_KEY` | 是 | 企微群机器人 webhook key |
|
||||
| `GH_PAT` | 否 | 个人 GitHub PAT(提高 API 限额;不设则用 Actions 内置 token) |
|
||||
| `CURSOR_API_KEY` | 否 | Agent 模式(Cursor SDK) |
|
||||
| `DAILY_LLM_API_KEY` | 否 | Agent / 编辑层(OpenAI 兼容 API) |
|
||||
|
||||
3. 可选 **Variables**(不设则用代码默认值):`DAILY_REPORT_MODE`、`DAILY_LLM_MODEL`、`DAILY_AI_NEWS` 等
|
||||
4. **Actions → daily → Run workflow** 可手动触发;勾选 *Skip WeCom push* 则只生成不上报
|
||||
|
||||
运行产物可在 workflow 的 **Artifacts** 中下载(`.md` / `.json`,保留 14 天)。
|
||||
|
||||
### Docker
|
||||
## 部署(Docker)
|
||||
|
||||
```bash
|
||||
cp .env.example .env # 填入 WECOM_WEBHOOK_KEY 等
|
||||
|
||||
Reference in New Issue
Block a user