Deploying Interfaces
Deploy your interfaces to production with GitHub integration.
GitHub Integration
Every interface is backed by a GitHub repository for version control.
Initial Setup
- Connect your GitHub account in Settings
- Create or link a repository for your interface
- Push your initial code
Automatic Syncing
Changes made in Lux Studio are automatically committed to GitHub.
Deployment Process
One-Click Deploy
- Open your interface in Lux Studio
- Click Deploy in the top toolbar
- Wait for the build to complete
- Access your live URL
Deployment Status
| Status | Description |
|---|---|
pending | Deployment started, building |
success | Deployed successfully |
failed | Build or deploy failed |
cancelled | Deployment was cancelled |
Viewing Deployments
- Deployment History - View all past deployments
- Commit SHA - Track which version is deployed
- Duration - See how long deploys take
- Error Details - Debug failed deployments
Deployment URLs
Each interface gets a unique deployment URL:
https://<interface-name>.<your-domain>.comCustom Domains
Configure custom domains for your interfaces in Settings.
Rollbacks
To rollback to a previous version:
- View deployment history
- Find the desired deployment
- Click Rollback
CI/CD Integration
For advanced workflows, integrate with your CI/CD pipeline:
# Deploy via CLI
lux interface deployTroubleshooting
Build Failures
- Check the error logs in the deployment details
- Verify all dependencies are installed
- Ensure environment variables are set
Deployment Timeouts
- Large builds may take longer
- Optimize bundle size if needed
- Check for infinite loops in build scripts
See Also: