Interfaces
Deploying

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

  1. Connect your GitHub account in Settings
  2. Create or link a repository for your interface
  3. Push your initial code

Automatic Syncing

Changes made in Lux Studio are automatically committed to GitHub.

Deployment Process

One-Click Deploy

  1. Open your interface in Lux Studio
  2. Click Deploy in the top toolbar
  3. Wait for the build to complete
  4. Access your live URL

Deployment Status

StatusDescription
pendingDeployment started, building
successDeployed successfully
failedBuild or deploy failed
cancelledDeployment 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>.com

Custom Domains

Configure custom domains for your interfaces in Settings.

Rollbacks

To rollback to a previous version:

  1. View deployment history
  2. Find the desired deployment
  3. Click Rollback

CI/CD Integration

For advanced workflows, integrate with your CI/CD pipeline:

# Deploy via CLI
lux interface deploy

Troubleshooting

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: