I absolutely love Next.js's [Incremental Static Regenration](https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration).

However, I'm looking for a way to force static pages regeneration on demand. Ideally via a command that I can trigger with an API call when the data in my source db change.

The idea is to regenerate each page just once after each data change. I could enforce ISR pages regeneration simply with fetching the target pages after their revalidation interval, but I'm looking for a way **not to regenerate them** redundantly until data changes.

Any ideas if it's doable and how? :-)