3 ms·
Rather than using Deploy Keys at all it seems completely better in almost every way to create a fake GitHub user and use its account's regular SSH key. You can,
by philfreo 11y ago
Rather than using Deploy Keys at all it seems completely better in almost every way to create a fake GitHub user and use its account's regular SSH key. You can, using Teams, give that user read-only access to whichever repo(s) it needs access to for deployment.
- baudehlo 11y agoGithub calls these "machine users". But it's more annoying to manage than the deploy keys UI.
- BillinghamJ 11y agoHowever Github doesn't actually have support for "machine users" - they're just normal user accounts with full GUI access on Github.com. And if you are on Github's per-user pricing model, machine users are not free.
- novaleaf 11y agoThis is exactly what I do on bitbucket (which has had read only repo keys for a while) as repo keys are kind of a pain to use.