My goal is to setup two specific workflows in a Repository:
- A workflow that will push changes to the Repository’s wiki whenever a push is made towards a specific folder of the Repository itself.
- A workflow that in regular intervals checks, if the Wiki has changes not present in the aforementioned folder of the Repository and in such a case auto-updates accordingly.
The first one is fairly easy to implement. In fact do I actually have other Repositories that have a Wiki action doing this already.
The problem is the second workflow. I’m not sure what would be the best way to check if there is a difference between wiki and folder, to then pull the info and push into the right directory.
Because of that would I like to ask if someone here has any suggestions on how to implement this.
Just in case do I have this flowchart here to visualize what each action should do: