Skip to content

Commit

Permalink
Documented CNAME file for custom domains (getzola#2219)
Browse files Browse the repository at this point in the history
  • Loading branch information
htmfilho authored and biodranik committed Sep 12, 2023
1 parent 3317d44 commit 0231c41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/documentation/deployment/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 0231c41

Please sign in to comment.