Jamdesk Documentation logo

Build & Deploy Lifecycle

The complete build pipeline from git push to live site: clone, validate, upload to R2, ISR revalidation, monitoring, and rollback strategies.

Push to GitHub. Jamdesk builds and deploys your docs within minutes.

Build Lifecycle

Build Triggers

TriggerHow It WorksUse Case
Git PushWebhook fires on push to connected branchNormal development
DashboardClick "Rebuild" in project settingsForce refresh after config changes

Builds are debounced. Commits within 10 seconds of each other go into one build.

What Happens During a Build

Jamdesk clones your repo and validates docs.json and MDX syntax. It compiles the pages to HTML with a search index. It deploys the result to Cloudflare R2. Most sites build in 30-90 seconds.

See How Jamdesk Works for the full pipeline and architecture diagram.

Deployment Status

The dashboard shows one of these statuses for each build:

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

The Build History section lists recent deployments with their status. Trigger a manual rebuild from there:

Build History showing recent deployments with Successful status badges, commit info, and Rebuild button

Manual Rebuild

Trigger a rebuild without pushing changes:

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

Use this when:

  • Fixing a stuck build
  • Refreshing after platform updates

Build Logs

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

Common errors in the logs:

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

Rollbacks

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

The previous version goes live immediately. A new build starts at the same time.

Branch Deployments

Branch deployments are available on Pro plans.

Preview changes before merging:

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

What's Next?

Deployment Overview

Choose between subdomain, custom domain, or subpath hosting

Subpath Hosting

Host docs at example.com/docs