Pages Settings
GitHub Docs - publishing source
GitHub Docs - custom DNS
GitHub Docs - HTTPS
- Go to your GitHub Pages repo on GitHub
https://github.com/(your username)/github.io/settings
- At the top, make sure you are on the settings tab
- On the left menu, click Pages under Code and automation
- For Build and deployment, select GitHub Actions
- Under Custom domain, enter the domain you want to use - whatever you set up in Set up DNS
- Click Save then wait for the DNS Check to finish
- Once the DNS check is done a Let’s Encrypt certificate will be generated for your custom domain. This can take a little bit and sometime the page has to be refreshed before the Enforce HTTPS checkbox is enabled to be toggled. Remember to select the setting you need based on if you are proxying the DNS record with Cloudflare in Set up DNS