Documentation 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 packages your documentation project, uploads it to Jamdesk, and triggers a remote build. Live status updates are printed to the terminal as each build phase completes, so you can follow along without opening the dashboard. The command is also available as jamdesk push.
Usage
jamdesk login if you have not already done so.
Flags
Queue the build and exit immediately without waiting for it to complete. No polling output is shown. A dashboard link is printed so you can monitor progress there.
Force a full rebuild, bypassing the remote build cache. Use this if a previous cached build produced unexpected results.
Deploy to a specific project by ID, overriding the
projectId stored in docs.json. Useful in CI pipelines or when managing multiple projects from a single local checkout.Print detailed output during packaging and upload.
Examples
First deploy: project selection
On the first deploy, the CLI prompts you to select which Jamdesk project to deploy to. The selectedprojectId is saved to docs.json automatically, so all subsequent deploys skip the prompt. You can override the saved ID at any time with --project <id>.
What gets uploaded
All project files are uploaded, with.gitignore rules respected. The following are always excluded, regardless of .gitignore:
.git · node_modules · .next · .env · .env.* · *.pem · *.key · credentials.json · .gcloud · .DS_Store · Thumbs.db
The maximum upload size is 100 MB (compressed).
Build phases
While the build runs, the CLI polls for status and prints each phase as it completes:- Extracting files
- Validating configuration
- Preparing content
- Building documentation
- Uploading to CDN
- Refreshing cache
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 project ID in dashboard |
| Build in progress | Another build already running | Wait or check dashboard |
| Upload too large | Project exceeds 100 MB | Add large files to .gitignore |
| No files to deploy | All files excluded | Check .gitignore isn’t too aggressive |
