feat: Gitea 发布 skill:隐私检查 + 建仓 + 增量推送(已存在仓库不 force push)
This commit is contained in:
@@ -39,9 +39,9 @@ cd /root/.openclaw/workspace && python3 scripts/gitea_push.py <repo_name> "<desc
|
|||||||
|
|
||||||
脚本自动完成:
|
脚本自动完成:
|
||||||
1. 🔍 隐私检查(检测 open_id、API key、token、IP 等敏感模式)
|
1. 🔍 隐私检查(检测 open_id、API key、token、IP 等敏感模式)
|
||||||
2. 📦 创建 Gitea **公开**仓库
|
2. 📦 创建 Gitea **公开**仓库(已存在则复用现有仓库)
|
||||||
3. 📄 收集文件(排除 .git、node_modules 等)
|
3. 📄 收集文件(排除 .git、node_modules 等)
|
||||||
4. 🚀 Git init → commit → push
|
4. 🚀 Git 增量提交 → push(**已存在仓库先拉取远程历史,正常 commit + push,不使用 --force**;全新仓库直接首推)
|
||||||
5. 🔗 返回仓库 URL
|
5. 🔗 返回仓库 URL
|
||||||
|
|
||||||
### 4. 反馈
|
### 4. 反馈
|
||||||
|
|||||||
Reference in New Issue
Block a user