docs(deploy): update gitlab deployment docs with custom outDir

pull/448/head
Bryan Müller 4 years ago
parent b9906dc605
commit f915e090d8
No known key found for this signature in database
GPG Key ID: AC53759C024484A6

@ -136,7 +136,7 @@ deploy:
If you are deploying to `https://<USERNAME or GROUP>.gitlab.io/<REPO>/`, for example your repository is at `https://gitlab.com/<USERNAME>/<REPO>`, then set `base` to `'/<REPO>/'`.
2. Set `dest` in `.vitepress/config.js` to `public`.
2. Set `outDir` in `.vitepress/config.js` to `../public`.
3. Create a file called `.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:

@ -37,7 +37,7 @@ export interface UserConfig<ThemeConfig = any> {
locales?: Record<string, LocaleConfig>
markdown?: MarkdownOptions
/**
* Opitons to pass on to `@vitejs/plugin-vue`
* Options to pass on to `@vitejs/plugin-vue`
*/
vue?: VuePluginOptions
/**

Loading…
Cancel
Save