Git-based deployments
Mintlify supports automatic deployments from both GitHub and GitLab repositories:- GitHub: Install the Mintlify GitHub App to enable automatic deployments on push events. The app creates status checks on pull requests and generates preview deployments. See GitHub for setup instructions.
- GitLab: Connect using access tokens and webhooks to sync changes and enable merge request previews. See GitLab for configuration steps.
- Detects changes pushed to your connected repository
- Builds your documentation with the latest content
- Deploys the updated site to your production URL
- Updates preview deployments for any open pull requests
Manually trigger a deployment
Verify your latest commit was successful.
Check that your latest commit appears in your docs repository and did not encounter any errors.
Manually trigger a deployment.
Go to your dashboard and select the deploy button.



Deployment configuration
Configure your deployment settings in the Git Settings section of your dashboard:- Organization/Repository: The Git repository containing your documentation
- Deployment branch: The branch that triggers production deployments (typically
mainormaster) - Content directory: The folder in your repository containing your docs (for monorepos)
Continuous integration
Pro and Enterprise plans include CI checks for GitHub repositories.
- Broken links: Automatically search for broken internal links
- Vale linting: Check for consistency of style and tone using rule-based prose linting
- Grammar validation: Ensure your documentation follows proper grammar rules
Warning (informational only) or Blocking (prevents merge) severity levels.
See CI checks for detailed configuration instructions.
Delete a deployment
You can permanently delete a deployment from the Danger zone in your dashboard settings. This action is irreversible and removes all deployment data, including any associated preview deployments.Navigate to the Danger zone.
Go to the Danger zone in the settings page of your dashboard.