feat: add createos deploy command#20
Merged
BhautikChudasama merged 6 commits intomainfrom Apr 1, 2026
Merged
Conversation
Adds an `update-homebrew` job to the release workflow that: - Downloads SHA256 checksums from the just-published release - Generates an updated Formula/createos.rb with new version + hashes - Pushes to NodeOps-app/homebrew-createos Requires HOMEBREW_TAP_TOKEN secret (PAT with repo scope for the tap repo). Runs after binaries are uploaded, so SHA256 files are always available. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds the most-requested missing command — `createos deploy` — which creates
new deployments directly from the CLI.
Automatically detects project type and routes accordingly:
- VCS (GitHub) projects → triggers deploy from latest commit on branch
- Upload projects → zips local directory and uploads (respects .gitignore-style patterns)
- Image projects → deploys a Docker image reference
Features:
- Auto-detects project from .createos.json (or --project flag)
- Real-time deployment status polling with spinner
- Prints live URL on success
- Shows build-log hint on failure
- Upload path: excludes node_modules, .git, .env, __pycache__, etc.
- Upload path: 50MB max, 10MB per-file limit
- 5-minute deployment timeout with graceful fallback
New API methods:
- TriggerLatestDeployment — POST /v1/projects/{id}/deployments/trigger-latest
- UploadDeploymentZip — POST /v1/projects/{id}/deployments/upload/zip
- GetDeployment — GET /v1/projects/{id}/deployments/{id}
Closes #3
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
createos deploy— the most-requested missing command. Creates new deployments directly from the CLI.How It Works
Auto-detects project type and routes accordingly:
All paths auto-detect the project from
.createos.json(or accept--projectflag).Features
New API Methods
TriggerLatestDeployment—POST /v1/projects/{id}/deployments/trigger-latestUploadDeploymentZip—POST /v1/projects/{id}/deployments/upload/zipGetDeployment—GET /v1/projects/{id}/deployments/{id}Test Plan
createos deploy --helpshows help without auth errorcreateos deploytriggers deployment from default branchcreateos deploy --branch stagingdeploys specific branchcreateos deployzips and uploads current directorycreateos deploy --image nginx:latestdeploys image.createos.json: shows helpful error suggestingcreateos init--projectflag overrides auto-detectionCloses #3
🤖 Generated with Claude Code