summaryrefslogtreecommitdiff
path: root/.github/workflows/sync-public-repo.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/sync-public-repo.yml')
-rw-r--r--.github/workflows/sync-public-repo.yml124
1 files changed, 124 insertions, 0 deletions
diff --git a/.github/workflows/sync-public-repo.yml b/.github/workflows/sync-public-repo.yml
new file mode 100644
index 0000000..72549a4
--- /dev/null
+++ b/.github/workflows/sync-public-repo.yml
@@ -0,0 +1,124 @@
+name: Sync Public Repo
+
+on:
+ push:
+ tags:
+ - 'v*'
+ branches:
+ - main
+ paths:
+ - 'install.sh'
+ - 'k8s/daemon/**'
+ - 'makima/cloudflare-agent/README.md'
+ workflow_dispatch:
+
+jobs:
+ sync:
+ name: Sync to soryu-co/makima
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout soryu repo
+ uses: actions/checkout@v4
+
+ - name: Checkout makima public repo
+ uses: actions/checkout@v4
+ with:
+ repository: soryu-co/makima
+ token: ${{ secrets.MAKIMA_RELEASE_TOKEN }}
+ path: makima-public
+
+ - name: Sync files
+ run: |
+ mkdir -p makima-public/k8s/daemon makima-public/docs
+
+ cp install.sh makima-public/install.sh
+ cp k8s/daemon/* makima-public/k8s/daemon/
+ cp makima/cloudflare-agent/README.md makima-public/docs/cloudflare-agent.md
+
+ - name: Generate README
+ shell: bash
+ run: |
+ cat > makima-public/README.md <<'READMEEOF'
+ # Makima
+
+ **Distributed task orchestration for AI coding agents.**
+
+ Makima coordinates work across multiple AI coding agents, enabling parallel task execution, contract-based workflows, and seamless integration with tools like Claude Code.
+
+ ## Installation
+
+ ### Quick Install (recommended)
+
+ ```bash
+ curl -fsSL https://raw.githubusercontent.com/soryu-co/makima/master/install.sh | bash
+ ```
+
+ The install script auto-detects your platform and downloads the latest release.
+
+ ### Manual Download
+
+ Download the latest release for your platform from the [Releases page](https://github.com/soryu-co/makima/releases).
+
+ ### Supported Platforms
+
+ | Platform | Architecture |
+ |-------------------|-------------|
+ | Linux | x86_64 |
+ | Linux | ARM64 |
+ | macOS | x86_64 |
+ | macOS | ARM64 (Apple Silicon) |
+
+ After downloading, extract and install:
+
+ ```bash
+ tar xzf makima-*.tar.gz
+ chmod +x makima
+ sudo mv makima /usr/local/bin/
+ ```
+
+ ### Verify Installation
+
+ ```bash
+ makima --version
+ ```
+
+ ## Kubernetes Deployment
+
+ Makima can run as a daemon in Kubernetes for persistent task execution. Manifests are provided in [`k8s/daemon/`](k8s/daemon/).
+
+ The daemon container image is available at:
+
+ ```
+ ghcr.io/soryu-co/makima-daemon:latest
+ ```
+
+ Apply the manifests with kustomize:
+
+ ```bash
+ kubectl apply -k k8s/daemon/
+ ```
+
+ See [`k8s/daemon/README.md`](k8s/daemon/README.md) for full deployment instructions.
+
+ ## Documentation
+
+ - [Cloudflare Edge Agent](docs/cloudflare-agent.md) — Deploy a WebSocket relay on Cloudflare Workers for edge-based task dispatch
+
+ ## License & Info
+
+ Makima is developed by [soryu-co](https://github.com/soryu-co). For more information, visit the [soryu-co GitHub organization](https://github.com/soryu-co).
+ READMEEOF
+
+ - name: Commit and push
+ working-directory: makima-public
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+ git add -A
+ if ! git diff --cached --quiet; then
+ git commit -m "sync: update public files from soryu repo"
+ git push
+ else
+ echo "No changes to sync"
+ fi