summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGravatar Adam Recvlohe <9747933+arecvlohe@users.noreply.github.com> 2021-09-30 14:03:14 -0500
committerGravatar GitHub <noreply@github.com> 2021-09-30 15:03:14 -0400
commit41aed672abde8ddfd2f448a2928aa0c46663f495 (patch)
tree22d833fb8fec8b1f90b0226d50733acc177a8bb0 /docs/src
parent82672e5c47c7e671d890a1b858e4098a989fd82a (diff)
downloadastro-41aed672abde8ddfd2f448a2928aa0c46663f495.tar.gz
astro-41aed672abde8ddfd2f448a2928aa0c46663f495.tar.zst
astro-41aed672abde8ddfd2f448a2928aa0c46663f495.zip
Update deploy docs for gitlab pages (#1465)
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/guides/deploy.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/pages/guides/deploy.md b/docs/src/pages/guides/deploy.md
index 28b48fd6c..50671f6f0 100644
--- a/docs/src/pages/guides/deploy.md
+++ b/docs/src/pages/guides/deploy.md
@@ -161,7 +161,7 @@ jobs:
## GitLab Pages
1. Set the correct `buildOptions.site` in `astro.config.mjs`.
-2. Set `build.outDir` in `astro.config.mjs` to `public`.
+2. Set `build` in `astro.config.mjs` to `public` and `public` in `astro.config.mjs` to a newly named folder that is holding everything currently in `public`. The reasoning is because `public` is a second source folder in astro, so if you would like to output to `public` you'll need to pull public assets from a different folder.
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:
```yaml