Static Blogging with Hugo, GitHub Pages (Travis CI, Cloudflare)
· 2 min read
Github
-
Create two repositories on Github:
- Content source repository (the result of
hugo new site): https://github.com/fahrinh/my-site - Main web pages repository (the result of running Hugo): https://github.com/fahrinh/fahrinh.github.io
- Content source repository (the result of
-
Create a Personal Access Token at https://github.com/settings/tokens with the repo scope. Copy the token to your clipboard.
-
Make sure there is a
CNAMEfile containing the custom domain in the https://github.com/fahrinh/my-site repository.
