I have multiple Raspberry Pis which I hand out to multiple people. On each of them there is a local html file, which was cloned on each PI from Gitlab.
What is the best way to update this file (probably on boot) for all users, when I make some changes to the file? I guess each PI has to have a ssh key so it can pull automatically. Then do I run a git pull script when Raspbian boots? What is the best way to do that?
Also, I would only like the PIs to pull the code, the users cannot be able to make changes and push the code back on Gitlab.
Thank you for your opinions and have a nice day!