Connecting GitHub

Link your GitHub repository for automatic deployments

Jamdesk integrates with GitHub to automatically deploy your documentation when you push changes.

GitHub App Installation

When you first sign in to Jamdesk, you'll be prompted to install the Jamdesk GitHub App. This app enables:

  • Repository access - Read your docs content
  • Webhooks - Trigger builds on push
  • Commit status - Show build status on commits

Permissions

The Jamdesk GitHub App requests these permissions:

PermissionPurpose
Repository contents (read)Clone and read your documentation files
Metadata (read)List repositories and branches
WebhooksReceive push notifications

Jamdesk only accesses repositories you explicitly grant access to. You can modify access anytime in your GitHub settings.

Connect a Repository

1
Select repository

When creating or editing a project, click Connect Repository.

Choose from repositories where the GitHub App is installed.

2
Choose branch

Select the branch to deploy:

  • main or master - Most common for production docs
  • docs - If you keep docs in a separate branch
  • Any branch - For preview deployments
3
Specify docs path

If your docs.json isn't in the repository root, specify the path:

docs/           # Docs in a subdirectory
packages/docs/  # Monorepo with docs package

Leave blank if docs.json is in the root.

Automatic Deployments

Once connected, every push to your configured branch triggers a build:

git add .
git commit -m "Update API documentation"
git push origin main

Builds typically complete in 30-90 seconds. View status in the dashboard or on the GitHub commit.

Changing Repositories

To connect a different repository:

  1. Go to SettingsRepository
  2. Click Change Repository
  3. Select the new repository and branch

Changing repositories may affect your live documentation. The new repository must contain valid Jamdesk configuration.

Managing GitHub App Access

Control which repositories Jamdesk can access:

  1. Go to github.com/settings/installations
  2. Find Jamdesk in the list
  3. Click Configure
  4. Under "Repository access", select specific repositories or all

Organization Repositories

For organization repositories, an organization admin must approve the GitHub App installation:

  1. Request installation from your Jamdesk dashboard
  2. An admin receives a notification in GitHub
  3. Once approved, organization repos appear in the repository selector

Troubleshooting

Repository not showing up

  • Verify the GitHub App is installed on the repository
  • For organization repos, confirm an admin has approved access
  • Try refreshing the repository list in the dashboard

Builds not triggering

  • Check the webhook is active in repository settings
  • Verify you're pushing to the configured branch
  • Look for webhook delivery errors in GitHub

Permission denied errors

  • Re-authorize the GitHub App in your GitHub settings
  • Ensure the repository is accessible to the Jamdesk App

What's Next?

Was this page helpful?