From e43b27e6587674aea655c18452fce99ce90f1aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hildeberto=20Mendon=C3=A7a?= <200272+htmfilho@users.noreply.github.com> Date: Tue, 23 May 2023 15:01:38 -0400 Subject: [PATCH] Documented CNAME file for custom domains (#2219) --- docs/content/documentation/deployment/github-pages.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/documentation/deployment/github-pages.md b/docs/content/documentation/deployment/github-pages.md index 734d1fdc..ded7a8a7 100644 --- a/docs/content/documentation/deployment/github-pages.md +++ b/docs/content/documentation/deployment/github-pages.md @@ -163,3 +163,7 @@ If your site is using a custom domain, you will need to mention it in the `ghp-i `ghp-import -c vaporsoft.net -n public` for example. Credits: The Travis-CI section of this page is based on the article https://vaporsoft.net/publishing-gutenberg-to-github/ + +## Custom Domain + +If you're using a custom domain for your GitHub Pages site, put the CNAME in static/CNAME so that Zola puts it in the root of the public folder which is where GitHub expects it to be.