From cccc231f2106b41c6c3298917e222ba34e015f46 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Wed, 17 Jul 2024 20:22:22 +0530 Subject: [PATCH] docs: mention that base is not needed for certain gitlab pages types closes #4055 --- docs/en/guide/deploy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/guide/deploy.md b/docs/en/guide/deploy.md index c3eb5764..852fb868 100644 --- a/docs/en/guide/deploy.md +++ b/docs/en/guide/deploy.md @@ -198,7 +198,7 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f ### GitLab Pages -1. Set `outDir` in VitePress config to `../public`. Configure `base` option to `'//'` if you want to deploy to `https://.gitlab.io//`. +1. Set `outDir` in VitePress config to `../public`. Configure `base` option to `'//'` if you want to deploy to `https://.gitlab.io//`. You don't need `base` if you're deploying to custom domain, user or group pages, or have "Use unique domain" setting enabled in GitLab. 2. Create a file named `.gitlab-ci.yml` in the root of your project with the content below. This will build and deploy your site whenever you make changes to your content: