As per https://help.github.com/articles/setting-up-a-custom-domain-with-pages#setting-the-domain-in-your-repo, added a CNAME file.