File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ awesome-ai/
2323│ ├── components/ # UI 组件
2424│ └── i18n/ # 国际化翻译字典 (zh.json / en.json)
2525├── public/ # 📂 静态资源 (⚠️ 包含关键文件: CNAME)
26- ├── scripts/ # 🔧 部署脚本 (deploy_ai_pulse .py)
26+ ├── scripts/ # 🔧 部署脚本 (deploy_awesome_ai .py)
2727├── README.md # 📖 项目介绍 (中文)
2828└── README_EN.md # 📖 项目介绍 (英文)
2929```
@@ -102,18 +102,18 @@ summary: "简短总结..."
1021022 . 运行本地验证:` npm run build ` 。** 只有构建成功 (Exit 0) 的文件才允许提交。**
103103
104104### Step 2: 部署推送
105- 使用 ` scripts/deploy_ai_pulse .py ` 推送文件。
105+ 使用 ` scripts/deploy_awesome_ai .py ` 推送文件。
106106``` bash
107107# 推送中文
108- python3 scripts/deploy_ai_pulse .py src/content/daily/YYYY-MM-DD.md " docs: add daily news YYYY-MM-DD"
108+ python3 scripts/deploy_awesome_ai .py src/content/daily/YYYY-MM-DD.md " docs: add daily news YYYY-MM-DD"
109109
110110# 推送英文
111- python3 scripts/deploy_ai_pulse .py src/content/en/daily/YYYY-MM-DD.md " docs: add daily news EN YYYY-MM-DD"
111+ python3 scripts/deploy_awesome_ai .py src/content/en/daily/YYYY-MM-DD.md " docs: add daily news EN YYYY-MM-DD"
112112```
113113
114114## 🔒 安全与敏感信息规范
1151151 . ** Token 保密** :
116- - 部署脚本 (` deploy_ai_pulse .py` ) 会从环境文件读取 Token。** Agent 在执行脚本时,绝不能在日志、回复或输出中打印 Token 的值。**
116+ - 部署脚本 (` deploy_awesome_ai .py` ) 会从环境文件读取 Token。** Agent 在执行脚本时,绝不能在日志、回复或输出中打印 Token 的值。**
117117 - 若遇到认证失败,仅提示 "Authentication failed" 或 "Check token validity"。
1181182 . ** 禁止硬编码** :
119119 - 永远不要将 Token 硬编码在生成的脚本代码或 Markdown 内容中。
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """deploy_ai_pulse .py - Stage, commit, and push content files to doocs/awesome-ai."""
2+ """deploy_awesome_ai .py - Stage, commit, and push content files to doocs/awesome-ai."""
33
44import subprocess
55import sys
@@ -17,7 +17,7 @@ def run(cmd, cwd="/tmp/awesome-ai"):
1717
1818def main ():
1919 if len (sys .argv ) < 3 :
20- print ("Usage: deploy_ai_pulse .py <file_path> <commit_message>" )
20+ print ("Usage: deploy_awesome_ai .py <file_path> <commit_message>" )
2121 sys .exit (1 )
2222
2323 file_path = sys .argv [1 ]
You can’t perform that action at this time.
0 commit comments