This site is made using NextJS and GitHub Pages. GitHub automatically exports a static build for NextJS into HTML and serves it. I just needed to enable pages from the repo settings.
Running Site Locally
- Install NodeJS if you don't have it already
- Clone this repo.
npm installin this repo's folder.
npm run devto start the server locally.
Publishing to your own site
- Edit the
CNAMEfile to your own domain or just remove it.
- Once you have made the changes, just
git committhem and push them to your own GitHub repo.
- In your repo, go to Settings and scroll down to GitHub Pages section. Select master branch from the dropdown.
- This will build your site and host it on the selected domain automatically on each