varitykit app deploy
Deploy your application to Varity’s secure infrastructure.
varitykit app deploy [OPTIONS]Hosting Options
Section titled “Hosting Options”Static Sites
Section titled “Static Sites”Deploy static websites and single-page applications:
varitykit app deployBest for:
- Marketing websites
- Documentation sites
- Single-page applications
- Landing pages
Features:
- Global CDN distribution
- Free hosting (sponsored by Varity)
- Permanent deployment URLs
- Automatic SSL
Dynamic Apps
Section titled “Dynamic Apps”Deploy full-stack applications with compute resources:
varitykit app deploy --hosting dynamicBest for:
- APIs and backends
- Server-side rendering
- Database applications
- Full-stack apps
Features:
- Container hosting
- Persistent storage
- 70-85% cheaper than AWS
Options
Section titled “Options”| Option | Default | Description |
|---|---|---|
--hosting | static | Hosting type: static or dynamic |
--path | . | Project directory |
--submit-to-store | false | Submit to Varity App Store |
--tier | - | Pricing tier: free, starter, growth, enterprise, scale |
--name | - | Custom app name for varity.app/{name} |
--mode | auto | Deployment mode: auto, guided, or expert |
Basic Deployment
Section titled “Basic Deployment”-
Build your project
Terminal window npm run build -
Deploy
Terminal window varitykit app deploy -
View your live app
✓ Build complete✓ Deployed successfully✓ Registered on VarityYour app is live at:https://your-app.varity.appDeployment ID: deploy-1737492000
Deploy with App Store Submission
Section titled “Deploy with App Store Submission”Submit your app to the Varity App Store during deployment:
varitykit app deploy --submit-to-storeThis will:
- Build and deploy your app
- Register on Varity’s infrastructure
- Submit to the App Store for review
Supported Frameworks
Section titled “Supported Frameworks”The CLI automatically detects your framework:
| Framework | Detection | Build Command |
|---|---|---|
| Next.js | next.config.* | npm run build |
| React (Vite) | vite.config.* | npm run build |
| React (CRA) | react-scripts | npm run build |
| Vue | vue.config.* | npm run build |
| Custom | package.json | npm run build |
Environment Variables
Section titled “Environment Variables”Storage and authentication credentials are auto-provided by Varity. No manual credential setup is required. See Managed Credentials.
Rollback
Section titled “Rollback”Revert to a previous deployment:
varitykit app rollback deploy-1737491000List Deployments
Section titled “List Deployments”View all deployments:
varitykit app listOutput:
ID | Status | URL--------------------|---------|---------------------------deploy-1737492000 | live | https://your-app.varity.appdeploy-1737491000 | archived| https://v2.your-app.varity.appView Deployment Details
Section titled “View Deployment Details”Get detailed information about a specific deployment:
varitykit app info deploy-1737492000Check Status
Section titled “Check Status”View overall deployment status:
varitykit app statusTroubleshooting
Section titled “Troubleshooting””Build failed”
Section titled “”Build failed””-
Verify your build works locally:
Terminal window npm run build -
Check for missing dependencies:
Terminal window npm install
“Upload failed”
Section titled ““Upload failed””-
Verify network connectivity:
Terminal window varitykit doctor -
Check your internet connection and try again
Advanced: Deployment Manifest
After deployment, a manifest file is created:
{ "deployment_id": "deploy-1737492000", "timestamp": "2026-01-28T12:00:00Z", "hosting": "static", "url": "https://your-app.varity.app"}Next Steps
Section titled “Next Steps”- Deploy Your App - Deployment details
- Configure environment variables - Required setup
- CLI Overview - All CLI commands
Related Resources
Section titled “Related Resources”- Quick Start - Complete tutorial
- Troubleshooting - Fix common issues
- File Storage - File storage guide