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
  • 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)

    這個技能的最新版本可以在7w4.net小蔥技能站找到。

  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