Skip to content

Commit d3d55d6

Browse files
committed
chore: rename deploy_ai_pulse.py to deploy_awesome_ai.py
1 parent 5d0a13a commit d3d55d6

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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: "简短总结..."
102102
2. 运行本地验证:`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
## 🔒 安全与敏感信息规范
115115
1. **Token 保密**
116-
- 部署脚本 (`deploy_ai_pulse.py`) 会从环境文件读取 Token。**Agent 在执行脚本时,绝不能在日志、回复或输出中打印 Token 的值。**
116+
- 部署脚本 (`deploy_awesome_ai.py`) 会从环境文件读取 Token。**Agent 在执行脚本时,绝不能在日志、回复或输出中打印 Token 的值。**
117117
- 若遇到认证失败,仅提示 "Authentication failed" 或 "Check token validity"。
118118
2. **禁止硬编码**
119119
- 永远不要将 Token 硬编码在生成的脚本代码或 Markdown 内容中。
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

44
import subprocess
55
import sys
@@ -17,7 +17,7 @@ def run(cmd, cwd="/tmp/awesome-ai"):
1717

1818
def 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]

0 commit comments

Comments
 (0)