Back to Documentation
Deployment
Manual Upload
Deploy your site by uploading a ZIP file or dragging and dropping your build folder directly.
1Prepare Your Build
Before uploading, build your project locally:
# Build your project
npm run build
# Your output folder (varies by framework)
# React: build/
# Vue: dist/
# Next.js: out/ (static export)
# Astro: dist/
Make sure your build folder contains an index.html file at the root.
2Upload via Dashboard
Upload your build folder through the dashboard:
- Click "New Site" in your dashboard
- Select "Upload Files"
- Drag and drop your build folder, or click to browse
- You can also upload a ZIP file containing your build
- Click "Deploy"
Tip: Maximum upload size is 100MB for free plans, 500MB for paid plans.
3Upload via CLI
Use the Berican CLI for faster uploads:
# Install CLI
npm install -g @berican/cli
# Login
berican login
# Deploy
berican deploy ./dist
The CLI compresses your files for faster upload and shows real-time progress.
4Upload via API
Automate uploads using the API:
# Create a deployment
curl -X POST https://api.bericanlabs.com/v1/sites/SITE_ID/deployments \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@build.zip"
5Update Existing Site
To update an existing site with new files:
- Go to your site's dashboard
- Click "Deployments"
- Click "New Deployment"
- Upload your updated build folder
- The new version goes live instantly
Previous versions are saved for instant rollback if needed.