How I set up this website using GitHub Pages, namecheap and Cloudflare
Selecting a theme
There are a lot of different themes that you can choose from on GitHub.
myusername.github.io as the repository name and enabling github pages
in the settings, the website was up and running.
I wanted to use a custom domain name for my site, so I went to namecheap and purchased
xiang.dev given that Google released this domain quite recently.
I used Cloudflare to handle the redirect and SSL certificates for the site, it is completely free and quite easy to use.
This guide by Bart de Goede is quite detailed and explains this step quite well.
You may also need to set up
A records on Cloudflare pointing to the IPs owned by GitHub.
Note: Don’t forget to also change the nameservers of your domain to the ones provided by cloudflare.