bootspring deploy
Deploy your project to production with one command.
Overview#
The deploy command handles deployment to multiple platforms including Vercel, Railway, Fly.io, Netlify, AWS Amplify, and Docker. It auto-detects your project type and configures deployment accordingly.
Usage#
bootspring deploy [command] [options]Commands#
| Command | Description |
|---|---|
| (default) | Deploy to detected/configured target |
<target> | Deploy to specific target |
status | Show deployment status |
targets | List available targets |
init <target> | Initialize deployment config |
reset | Reset deployment state |
Deployment Targets#
| Target | Best For |
|---|---|
vercel | Next.js applications (recommended) |
railway | Full-stack applications |
fly | Edge deployment |
netlify | Static sites & serverless |
docker | Container-based deployment |
aws | AWS Amplify |
Options#
| Option | Description |
|---|---|
--preview | Deploy preview (not production) |
--skip-quality | Skip quality checks before deploy |
--dry-run | Show what would be deployed |
--force | Force deployment even with warnings |
Examples#
1# Auto-detect and deploy
2bootspring deploy
3
4# Deploy to specific target
5bootspring deploy vercel
6
7# Deploy preview environment
8bootspring deploy --preview
9
10# Initialize deployment config
11bootspring deploy init vercel
12
13# Check deployment status
14bootspring deploy status
15
16# List available targets
17bootspring deploy targets
18
19# Dry run
20bootspring deploy --dry-runDeployment Flow#
- Detection - Identify project type and best target
- Quality Check - Run pre-deploy quality gates (unless skipped)
- Config Generation - Generate deployment configuration
- Build - Build the application
- Deploy - Push to production
- Verify - Confirm deployment success
Configuration#
Deployment configuration is stored in .bootspring/deploy/:
.bootspring/deploy/
├── config.json # Target and settings
├── vercel.json # Vercel config (if using)
├── railway.toml # Railway config (if using)
└── Dockerfile # Docker config (if using)
Pre-Deploy Quality Gates#
Before deployment, these checks run automatically:
- TypeScript compilation
- Linting
- Tests
- Build verification
Skip with --skip-quality if needed.
Related Commands#
bootspring monitor- Post-deployment monitoringbootspring health- Project health checkbootspring quality- Quality gates