Deploy Public

👤 parkertoddbrooks 📦 v1.9.72 ⭐ 4.4 ⬇️ 1.6K 下载
💻 开发编程 免费

📖 技能介绍


name: deploy-public description: Private-to-public repo sync. Copies everything except ai/ to the public mirror. Creates PR, merges, syncs releases. license: MIT interface: [cli, skill] metadata: display-name: "Private-to-Public Sync" version: "1.3.0" homepage: "https://github.com/wipcomputer/wip-ai-devops-toolbox" author: "Parker Todd Brooks" category: dev-tools capabilities: - repo-sync - release-sync requires: bins: [git, gh, bash] openclaw: requires: bins: [git, gh, bash] emoji: "🚢" compatibility: Requires git, gh (GitHub CLI), bash.


deploy-public

Private-to-public repo sync. One script for all repos. Copies code, creates a PR on the public repo, merges it, and syncs GitHub releases.

When to Use This Skill

Use deploy-public for: - Publishing a private repo's code to its public counterpart - After running wip-release on the private repo (release must exist first) - Syncing release notes from private to public

CRITICAL: Release order matters. 1. Merge PR to private repo's main 2. Run wip-release (creates GitHub release with notes on private repo) 3. THEN run deploy-public.sh (pulls notes from private release)

If you skip step 2, the public release gets empty notes.

Do NOT Use For

  • Repos without a -private counterpart

    小葱技能7w4.net有更新,你可以访问看下。

  • First-time repo setup (create the public repo on GitHub first)

API Reference

CLI

bash scripts/deploy-public.sh /path/to/private-repo org/public-repo

Examples

# Deploy memory-crystal
bash scripts/deploy-public.sh /path/to/memory-crystal-private wipcomputer/memory-crystal

# Deploy wip-dev-tools
bash scripts/deploy-public.sh /path/to/wip-ai-devops-toolbox-private wipcomputer/wip-ai-devops-toolbox

What It Does

  1. Clones the public repo to a temp directory
  2. Copies all files from private repo (excluding ai/, .git/)
  3. Creates a branch, commits, pushes, creates PR
  4. Merges the PR (regular merge, never squash)
  5. Syncs GitHub releases (pulls notes from private repo's releases)

🤖 AI 评测

这个工具质量可靠,能安全地将私有仓库同步到公开镜像,擅长排除敏感文件、创建合并PR、同步发布版本。优点是安全检查到位、操作自动化程度高。缺点是版本信息有点乱,依赖外部工具配置,新手可能需要阅读说明才能上手。

📊 多维度评分

适应性4.4
规范性4
有效性4.7
可靠性4.4
可信度4.2

📁 包含文件 (5 个)

📄 README.md 673 B
📄 SKILL.md 2 KB
📄 _meta.json 133 B
📄 deploy-public.sh 13.8 KB
📄 package.json 254 B