Deploying a Site
WebStadia supports two deployment methods: GitHub integration and file upload.
Deploy from GitHub
- Go to your project dashboard and click Add Website
- Select Connect GitHub Repository
- Choose your repository and branch
- Configure build settings (auto-detected for most frameworks)
- Click Deploy
WebStadia will automatically build and deploy your site on every push to the connected branch.
Deploy Mode
You can configure how deployments are triggered:
- Auto — every push to the connected branch triggers a build and deploy
- Manual — deployments only happen when you click Redeploy in the dashboard
Set the deploy mode from Website → Hosting → Deploy Mode.
Changing Repository
Already deployed from one repo and want to switch? Go to Hosting → Change Repository, select the new repo and branch, and redeploy.
Disconnecting GitHub
To disconnect your GitHub repo, go to Hosting → Disconnect Repository. This stops automatic deployments but keeps your current deployment live.
Auto-detected frameworks
WebStadia automatically detects and configures build settings for:
| Framework | Build Command | Publish Directory |
|---|---|---|
| Next.js | npm run build | .next |
| React (CRA) | npm run build | build |
| Vue / Nuxt | npm run build | dist |
| Astro | npm run build | dist |
| Gatsby | npm run build | public |
| Svelte | npm run build | build |
| Angular | npm run build | dist |
You can override these in Build Settings.
Deploy via file upload
- Go to your project dashboard and click Add Website
- Select Upload Files
- Drag and drop your site folder or select files
- Click Deploy
Your site will be live instantly on a *.webstadia.com subdomain.
Preview deployments
When you push to a non-production branch, WebStadia creates a preview deployment with a unique URL. This lets you test changes before merging to production.
Preview URLs follow this format:
https://preview-{hash}.webstadia.com
Deployment history
View all past deployments in the Deployments tab. Each deployment shows:
- Deployment status (success / failed / building)
- Timestamp
- Build duration
- Commit message and SHA (for GitHub deploys)
You can instantly roll back to any previous deployment by clicking Rollback on any previous successful deployment.
Redeploy
To redeploy the current version (e.g., after changing environment variables), click Redeploy from the Hosting page. This rebuilds from the latest commit on your connected branch.
Build Logs
Every deployment generates build logs you can view in real time. If a build fails, check the logs to diagnose the issue — common problems include missing dependencies, incorrect build commands, or environment variable issues.