Mobayilo CLI - Website Runbook
Mobayilo CLI - Website Runbook
Section titled “Mobayilo CLI - Website Runbook”This runbook covers deployment and validation for https://mobycli.mobayilo.com.
- Static site source:
mobycli-site/ - Installer source:
docs/public/install.sh - Deploy workflow:
.github/workflows/mobycli-site-deploy.yml - Release workflow (publishes site + release payload on tags):
.github/workflows/cli-release.yml - Cloudflare Pages project name:
mobycli - Domain target:
mobycli.mobayilo.com
Preconditions
Section titled “Preconditions”- Cloudflare Pages project
mobycliexists. - Repository secrets are configured:
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_ID
- DNS access for
mobayilo.comzone is available.
Deployment Behavior
Section titled “Deployment Behavior”- Workflow triggers on push to
mainwhen files change in:mobycli-site/**docs/public/install.sh.github/workflows/mobycli-site-deploy.yml
- Workflow copies installer into site bundle:
mobycli-site/install.sh
- Workflow syncs latest GitHub Release assets into:
mobycli-site/releases/latest.jsonmobycli-site/releases/v<version>/...
- Workflow deploys
mobycli-site/to Cloudflare Pages usingwrangler pages deploy ... --branch=main.
Domain Setup
Section titled “Domain Setup”- In Cloudflare Pages project
mobycli, add custom domain:mobycli.mobayilo.com
- Confirm DNS record is created and proxied.
- Confirm TLS status is active for the custom domain.
Post-deploy Validation
Section titled “Post-deploy Validation”- Homepage check:
https://mobycli.mobayilo.com/
- Installer check:
https://mobycli.mobayilo.com/install.sh
- Release metadata check:
https://mobycli.mobayilo.com/releases/latest.json
- Release archive check:
https://mobycli.mobayilo.com/releases/v<version>/checksums.txt
- Content checks:
- Install snippet present.
moby self-updatecommand is visible in install/quickstart content.- Quickstart commands present.
- Links to help docs and GitHub present.
Fresh-machine Smoke
Section titled “Fresh-machine Smoke”On a clean machine profile:
curl -fsSL https://mobycli.mobayilo.com/install.sh | shmoby --versionmoby self-updatemoby auth loginmoby auth status --jsonExpected:
- install completes without manual patching
- binary is runnable from shell
- auth flow completes successfully
Rollback
Section titled “Rollback”- Re-deploy previous known-good
maincommit to Pages. - If installer regression exists, rollback commit containing
docs/public/install.sh. - If release payload regression exists, publish patched release tag and let
CLI Releaseredeploy payload.