Jamdesk gives you two ways to publish your documentation: push directly from the command line usingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jamdesk/jamdesk-cli/llms.txt
Use this file to discover all available pages before exploring further.
jamdesk deploy, or connect a GitHub repository so every merge triggers an automatic build. Either way, your docs land on a globally distributed CDN with SSL, AI-powered search, analytics, and a *.jamdesk.app subdomain — with no infrastructure to manage.
CLI Deployment
Make sure you are logged in before deploying. Then runjamdesk deploy from the root of your project (the directory containing docs.json):
jamdesk push is an alias that behaves identically.
Deploy Flags
| Flag | Description |
|---|---|
--detach | Queue the build and exit immediately — do not wait for progress |
--full-rebuild | Force a full rebuild, bypassing any cached layers |
--project <id> | Deploy to a specific project by ID, overriding the saved value |
--verbose | Print detailed output during packaging and upload |
projectId is saved to docs.json so subsequent deploys skip the prompt. You can always override it with --project <id>.
Build Phases
After upload, the CLI polls for build progress and displays each phase as it completes:Validating configuration
docs.json is checked against the Jamdesk schema and your navigation is verified.What Gets Uploaded
The CLI packages all project files, respecting your.gitignore. The following paths are always excluded regardless of .gitignore:
.gitnode_modules.next.envand.env.**.pemand*.keycredentials.json.gcloud.DS_StoreThumbs.db
The maximum upload size is 100 MB (compressed). If your project exceeds this limit, add large binary files or generated artifacts to
.gitignore to bring the size down.GitHub Auto-Deploy
Connect your docs repository to Jamdesk and every push to GitHub triggers an automatic build and deploy. Your site is published to a*.jamdesk.app subdomain with:
- SSL — automatic HTTPS, no certificate management
- AI search — AI-powered search across all your content
- Analytics — built-in analytics
- Custom domain support — point your own domain at any time
Common Errors
| Error | Cause | Fix |
|---|---|---|
| Not logged in | No stored credentials | Run jamdesk login |
| Session expired | Token refresh failed | Run jamdesk login again |
| Access denied | Not a member of the project | Check project membership, or run jamdesk whoami |
| Project not found | Invalid --project ID or removed project | Check the project ID in the dashboard |
| Build in progress | Another build is already running | Wait for it to finish, or check the dashboard |
| Upload too large | Project exceeds 100 MB | Add large files to .gitignore |
| No files to deploy | All files excluded by filters | Check that .gitignore isn’t too aggressive |
Subpath Hosting with Cloudflare
If you want to serve your docs at a subpath on your own domain — for exampleyoursite.com/docs — you can deploy a Cloudflare Worker proxy without changing any infrastructure. See Cloudflare subpath hosting for step-by-step instructions.