Library
Mintlify answers/5 minutes read

Does Mintlify support CI/CD, preview deployments and linting?

Published November 21, 2026
HC

Harkirat Chahal

Growth

Share this article


Does Mintlify support CI/CD, preview deployments and linting?
SUMMARY

Yes. Mintlify deploys your documentation site automatically when you push changes to your connected Git repository, on every plan. Pro and Enterprise add preview deployments with a unique URL for each pull request, and CI checks for broken links and Vale style linting on GitHub repositories.

Yes. Mintlify deploys your documentation site automatically when you push changes to your connected Git repository, on every plan. Pro and Enterprise add preview deployments with a unique URL for each pull request, and CI checks for broken links and Vale style linting on GitHub repositories.

How Mintlify deploys from Git

Your live site builds from a deployment branch, often main. A push to that branch triggers a deployment. On GitHub you install the Mintlify GitHub App, and on GitLab Mintlify uses an access token and a webhook.

You can also start a deployment without a push:

  • In the dashboard, click the deploy button to trigger a deployment manually.
  • Through the REST API, the Trigger deployment endpoint queues a deployment from your deployment branch and returns a status ID. It takes an admin API key, and the REST API requires Pro or Enterprise.

Preview deployments before merging to main

Preview deployments give each pull request its own URL, so reviewers see the rendered docs before the merge.

  1. Open a pull request that targets your deployment branch.
  2. The Mintlify bot adds a link to the preview in the pull request.
  3. Push more commits. The preview updates each time.

You can also create a preview for any branch from the Previews page in the dashboard, or from a pipeline with the Trigger preview deployment endpoint.

Preview URLs are publicly viewable by default. Restricting them to your organization's login or a password requires Enterprise. Pull requests opened from a fork need approval before Mintlify builds a preview.

Branch-based publishing so edits don't go live immediately

Only the deployment branch publishes to your live site. Work on any other branch stays unpublished until it merges through a pull request.

In Git, create a feature branch and open a pull request. In the web editor, click the branch name, click New branch, then use Request review and Merge and publish when the change is ready. If your deployment branch requires pull requests, the editor offers Create branch in place of Publish. Editing Mintlify docs without GitHub walks through that flow.

CI checks and Vale linting on pull requests

Mintlify CI checks run on pull requests against your deployment branch. You enable them on the Site page of the dashboard and set each one to Warning or Blocking. A Blocking check gives a failure status when it finds an error or suggestion. A Warning check never does.

CI checkWhat it does
Broken linksFinds broken internal links between pages on your site. It does not check external links.
ValeRuns the Vale prose linter and shows the result as a check status.

For Vale, add a .vale.ini file to the root content directory of your project and the check uses it, along with the files in your StylesPath. Without one, a default configuration loads. Our documentation linting guide covers the practice.

The Mintlify CLI runs validation locally or in your own pipeline:

  • mint validate checks pages, snippets, navigation, and OpenAPI specifications, then runs a strict build. It exits with code 1 when a rule reports an error.
  • mint broken-links checks internal links. --check-anchors and --check-external add anchor links and external URLs.
  • mint a11y checks color contrast and missing alt text on images and videos.

What each plan and Git provider includes

FeatureFreeProEnterprise
Git sync and deploy on pushYesYesYes
Preview deploymentsNoYesYes
CI checks (GitHub)NoYesYes
REST API for deploymentsNoYesYes
Restricted preview accessNoNoYes
Rollbacks to a previous buildNoNoYes
GitHubGitLab
Deploy on pushYesYes
Preview deploymentsPull requestsMerge requests
Preview statusLink from the Mintlify bot in the pull requestComment on the merge request
CI checksYesNot available

If your docs live in a monorepo or across several repositories, see Mintlify with multiple repos or a monorepo.

Frequently Asked Questions

Does Mintlify support CI/CD integration?

Yes. Mintlify deploys on every push to your deployment branch, runs broken link and Vale checks on GitHub pull requests on Pro and Enterprise, and has REST API endpoints to trigger deployments and previews from your own pipeline.

How do I set up preview deployments in Mintlify before merging to main?

On a Mintlify Pro or Enterprise plan, connect your repository and open a pull request that targets your deployment branch. The Mintlify bot adds a preview link to the pull request, and the preview updates with each new commit.

How do I set up branch-based publishing in Mintlify so my edits don't go live immediately?

Make your edits on a branch other than your deployment branch. In the Mintlify web editor, create a branch, click Request review, and click Merge and publish once the pull request meets your repository's review requirements.

How do I run Vale linting in Mintlify's CI pipeline to catch style issues before publishing?

On a GitHub repository with a Mintlify Pro or Enterprise plan, enable the Vale check on the Site page of the Mintlify dashboard and set it to Warning or Blocking. Add a .vale.ini file to the root content directory to use your own rules, or leave it out to use the default configuration.

Where to start

Read the CI checks and preview deployments docs for setup. Start for free to connect a repository, or book a demo if you need restricted previews or rollbacks on Enterprise.

More to read

Does Mintlify support custom domains and a /docs subpath?
Mintlify answers

Does Mintlify support custom domains and a /docs subpath?

Yes. Mintlify includes custom domains on every plan, with automatic TLS, and can serve docs at a subpath like example.com/docs through four proxy methods.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify run a customer help center?
Mintlify answers

Can Mintlify run a customer help center?

Yes. Mintlify hosts help articles with search on every plan and an AI assistant on Pro at 25 credits per answer. Tickets stay in your help desk.

November 21, 2026
HC

Harkirat Chahal

Growth

Where is Mintlify data hosted, and who processes it?
Mintlify answers

Where is Mintlify data hosted, and who processes it?

Mintlify hosts customer data in AWS us-east-1 by default. Enterprise customers can choose EU hosting in Frankfurt or self-host in their own cloud.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify show different docs to different audiences?
Mintlify answers

Can Mintlify show different docs to different audiences?

Yes, on Enterprise. Mintlify restricts pages to user groups passed through OAuth, JWT or emails authentication. Readers outside a group get a 404.

November 21, 2026
HC

Harkirat Chahal

Growth

Will Mintlify migrate our docs for us?
Mintlify answers

Will Mintlify migrate our docs for us?

Yes, on Enterprise: the Mintlify team ports and QAs your content. Free and Pro teams self-serve with mint migrate. Contract match is up to 12 months free.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify integrate with Slack, Jira, Linear and Zendesk?
Mintlify answers

Does Mintlify integrate with Slack, Jira, Linear and Zendesk?

Yes. Mintlify's agent works in Slack on Pro and Enterprise, and on Enterprise it connects to 23 apps including Jira, Linear, Zendesk, HubSpot and ClickUp.

November 21, 2026
HC

Harkirat Chahal

Growth