Static Sites
Deploy HTML, React, Next.js, Vue, Astro, and other static sites with automatic builds, global CDN, and instant rollbacks.
1Supported Frameworks
Berican Labs supports all major static site frameworks:
We auto-detect your framework and configure build settings automatically.
2Deployment Options
Deploy your static site using one of these methods:
Git Integration (Recommended)
Connect your GitHub or GitLab repository for automatic deployments on every push.
- Click "New Site" in your dashboard
- Select "Import from Git"
- Authorize Berican Labs to access your repository
- Select your repository and branch
- Configure build settings (auto-detected)
- Deploy!
Manual Upload
Upload a ZIP file or drag-and-drop your build folder directly.
3Build Configuration
Configure your build settings in the site dashboard or via a berican.json file:
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"installCommand": "npm install",
"nodeVersion": "18"
}
Common framework configurations:
- Next.js: Output:
.nextorout(static export) - React (CRA): Output:
build - Vue: Output:
dist - Astro: Output:
dist
4Environment Variables
Store sensitive data and configuration securely:
- Go to Site Settings > Environment Variables
- Add variables as key-value pairs
- Variables are encrypted and available during build
Environment variables are:
- Encrypted at rest
- Available during build time
- Not exposed in client-side code (unless prefixed with
NEXT_PUBLIC_or similar)
5Instant Rollbacks
Every deployment is saved, allowing instant rollbacks:
- Go to Site > Deployments
- Find the deployment you want to restore
- Click "Rollback to this deployment"
- Your site is instantly reverted
Rollbacks are instant because we keep your build artifacts cached on our edge network.