- Go to your repositories page settings (Settings > Pages)
- Enter your custom domain in the field (yourdomain.com)
- Import the below DNS records. (if you're using Cloudflare, you can import the text file to automatically import all DNS records)
CNAME - www.yourdomain.com - yourgithubuser.github.io - Auto TTL One of each of the below too. A records, root of domain (yourdomain.com), auto TTL.
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153