I’m having a hard time figuring out how to setup our GRAV websites with the git-sync plugin.
We are using Gitlab to manage our website projects.
We used to sync the fully Grav website with Gitlab, but it seems that is not possible that way to get the git-sync plugin to work properly because it will push pages to the root folder (and not to
So I tried other possibilities, like only syncing the
user folder with Gitlab. This works almost like intended, but I get merge conflicts with the
plugins folder if git-sync wants to push to our Gitlab server.
Other idea we had was storing everything in Gitlab besides the pages folder and mange this folder in a separate repository, this would work out best I think (not tried this yet), but you have to create two repositories every time for one project…
So I was wondering, if you guys work with git repositories and also use the gitlab-sync plugin, what’s your way of handling the repos? I‘m open for new ideas.
Appreciate any help!