yarn next buildThe site is deployed to GitHub pages using GitHub Workflow.
In order to use a domain it must first be configured in the repository settings. Then a CNAME file should be created in the root directory (example). You can read more about adding custom domains for GitHub Pages here.