Please overwrite next.config.js with next.config.js.nodejs to deploy on node.js runtime.
yarn install
yarn devPlease overwrite next.config.js with next.config.js.static to deploy as a static site.
yarn build
npx serve outThis blog is deployed on Github Pages. The CI/CD is powered by Github Actions. Note: Github Pages only supports static files.
Vercel supports Next.js out of the box, so we can use node.js runtime to deploy this blog.