nextjs-github-pages
nextjs-github-pages copied to clipboard
Add hints on custom domains with Github Pages and Next JS
Thanks for this workflow. I just used it with a custom github domain and those are the changes I made:
- Add the
/CNAMEfile - Omit the
basePathpart - Omit https://github.com/gregrickaby/nextjs-github-pages?tab=readme-ov-file#add-base-path-to-pagetsx
See https://github.com/osmberlin/osm-traffic-sign-tool/blob/main/.github/workflows/deploy-github-pages.yml
Another think that would fit well into the readme is, that it looks like this workflow is suggested by Github when one chooses Settings > Pages > Build and deployment / Source > Github Actions. Only after a short while this UI picks up on the Action I pushed manually.