I have a private repo that needs to be deployed to many IoT devices (RasPi). I'd like to be able to git pull
via cron
job. I'm wondering how to manage the read-only access to the repo:
- access to code is not a consideration as it will be available on the device anyway
- deploy keys don't seem to work as they grant write access
I'm thinking about using a dedicated github user with read-only access for this purpose. Are there other or better options?