Does anyone have working techniques to automate git commits/pushes for Node.js wikis?
I have several wikis that I want to open up to additional editors. On my own, I simply run Node versions locally, and when I want to publish, I manually commit and push, leaving it to GitHub pages (or sometimes GitLab pages at work) to publish from there.
But I’m a techie who lives in git. Most other editors won’t be. There won’t be a large number of editors, and I’m not particularly concerned about contention. But I want their changes and mine to get saved back to git on some cadence. I would prefer if there is some scheduled check (every 30 minutes?) to see if there are unsaved changes, and then, if there have been no changes for some shorter period (5 minutes?) to commit everything to git, and push to GitHub/GitLab/Bitbucket/Codeberg/whatever.
Does anyone have examples of a similar workflow?
I would also love to see any examples people have of creating git tags/versions from a client-side event initiation. Have you done something like that?