StaticJsCMS / static-cms

A Git-based CMS for Static Site Generators
https://staticcms.org
MIT License
580 stars 52 forks source link

Merge CMS updates to one commit #1064

Open blahetal opened 6 months ago

blahetal commented 6 months ago

Hi, we are using StaticCMS with Astro site hosted on gitlab where we setup circleci CI site rebuild and deploy to our www server. This all works fine until we make and publish several changes made across different collections which trigger multiple commits to gitlab resulting in multiple ci pipelines building and publishing the site. There might be a race condition when a newer deployment would be overwritten by an older one in cases when an older CI job building the site finishes last.

To prevent this, would you consider a new feature which would batch cms changes to one commit so that all changes are published at once instead of in multiple commits?

Thanks, Libor