After a GitHub Pages build the domain name is removed from settings > Pages > Custom domain Adding the domain back fixes the issue.