This task can be performed using Outstatic
A free CMS for Next.js
Best product for this task

Outstatic
dev-tools
Outstatic is a static site CMS that lives inside your Next. js install. No need for databases, external services, or complicated setups. It allows you to create, edit and save content that is automatically committed to your repository and deployed to your live website.
What to expect from an ideal product
- Automatically commits content changes to your repository
- Integrates seamlessly with your Next.js setup
- Eliminates the need for external databases and services
- Simplifies deployment with one-click updates
- Keeps your content live and current with minimal effort