dev-manager-tauri/.blueprint/modules/github-publish.md
lanrtop 2ed548556c docs(blueprint): 固化统一 Gitea 双层架构 + 接入包 architect 设计
战略转向统一自建 Gitea、冻结 GitHub;新增 onboarding-pack(两档接入包 + 基线 architect 设计 4 卡)与 gitea-integration(风筝线模型 + webhook);flywheel 转向 git 自吸 + 新增 L0 commit 解析层
2026-06-19 11:39:11 +09:00

20 lines
884 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# GitHub 发布
> ❄️ **已冻结2026-06-19**:全面统一自建 Gitea弃用 GitHub。功能保留不删不再演进项目发布走 Gitea见 gitea-integration 模块)。
在炼境内通过 GitHub OAuth 直接将本地项目推送到远程仓库,支持新建仓库或关联已有仓库,完成发布后自动回填 remote URL。
## 决策记录
- 依赖 github-auth 模块提供的 access token不在本模块持久化凭证
- 发布操作调用 GitHub REST API 创建仓库,然后通过 git2 库执行 push
## 任务卡
### ✅ GitHub 仓库创建与推送
- status: done
- complexity: M
- files: src-tauri/src/commands/github.rs, src/components/dashboard/ProjectCard.tsx
- depends: github-auth
- acceptance: 未关联远程的项目可在看板卡片中一键发布到 GitHub发布成功后 remote_url 写入 DB卡片显示 GitHub 链接