Deployment

Deploy your documentation to production with automatic builds

Jamdesk handles deployment automatically. Connect your GitHub repository, push changes, and your docs go live within minutes.

How It Works

1
Push to GitHub

Commit and push your changes to the connected branch:

git add .
git commit -m "Update authentication docs"
git push
2
Automatic Build

Jamdesk detects your push and starts building. Your MDX files are compiled to optimized HTML with:

  • Minified CSS and JavaScript
  • Optimized images
  • Generated search index
  • Pre-rendered pages
3
Global CDN

Built files deploy to a global CDN. Your docs load fast from anywhere in the world.

Build times depend on project size. Most docs sites build in 30-90 seconds.

Deployment Status

Check your deployment status in the Jamdesk dashboard:

StatusMeaning
BuildingBuild in progress
DeployedLive at your domain
FailedBuild error - check logs
QueuedWaiting for previous build

Manual Rebuild

Sometimes you need to rebuild without pushing changes:

  1. Go to your project in the Jamdesk dashboard
  2. Open Settings
  3. Click Rebuild

Use this when:

  • Updating environment variables
  • Fixing a stuck build
  • Refreshing after platform updates

Custom Domains

Adding a Domain

1
Add domain in dashboard

Go to SettingsDomainsAdd Domain

Enter your domain (e.g., docs.example.com)

2
Configure DNS

Add a CNAME record pointing to your Jamdesk URL:

docs.example.com  CNAME  your-project.jamdesk.dev
3
Wait for verification

DNS changes can take up to 48 hours. Jamdesk will show "Verified" when ready.

SSL Certificates

Jamdesk automatically provisions and renews SSL certificates for all domains. No configuration needed.

Environment Variables

Set build-time variables in SettingsEnvironment:

ANALYTICS_ID=UA-12345678-1
API_BASE_URL=https://api.example.com

Access them in your docs with environment variable syntax.

Build Logs

View detailed build logs for debugging:

  1. Go to Deployments in your project
  2. Click on a specific deployment
  3. View the full build log

Common issues appear in logs:

  • Invalid MDX syntax
  • Missing images
  • Broken internal links
  • Configuration errors

Rollbacks

Need to revert to a previous version?

  1. Go to Deployments
  2. Find the deployment you want to restore
  3. Click Rollback

The previous version goes live immediately while a new build starts.

Branch Deployments

Branch deployments are available on Pro plans.

Preview changes before merging to main:

  1. Push to a feature branch
  2. Jamdesk creates a preview at branch-name.your-project.jamdesk.dev
  3. Review and merge when ready

Webhook Integration

Trigger builds from external systems using webhooks:

curl -X POST "https://api.jamdesk.com/projects/YOUR_PROJECT/rebuild" \
  -H "Authorization: Bearer YOUR_API_KEY"

Find your API key in SettingsAPI.

What's Next?

Was this page helpful?