This proposal add an option in the plugin to trigger a synchronization on all admin save event.
I also display the folder option in the blueprint to help parametrize witch folder we want to synchronize.
The initial goal was to get a website always sync with a git repo (almost the whole /user content). The actual plugin only trigger a sync on page save events whereas we can change configurations and use plugins in the Admin BO.
The only con of this feature is that it add latency to all admin save action (not only in the page module). But maybe this is related to remote git latency...
Thanks for this @BasileTrujillo . I actually ended up merging #105 which is doing what you do but allows to nitpick what to actually allow and don't allow on save.
This proposal add an option in the plugin to trigger a synchronization on all admin save event. I also display the folder option in the blueprint to help parametrize witch folder we want to synchronize.
The initial goal was to get a website always sync with a git repo (almost the whole
/user
content). The actual plugin only trigger a sync on page save events whereas we can change configurations and use plugins in the Admin BO.The only con of this feature is that it add latency to all admin save action (not only in the page module). But maybe this is related to remote git latency...