2 years ago
The topic has been broached a few times here. I understand that there's public API that lets us do deployments, but is it possible to just use the UI for creating private templates for team and letting team use them for internal deployments? If not possible, is it planned?
10 Replies
2 years ago
what's stopping you from creating an unpublished template for your team?
Actually, I think I found a tab "Team templates", so I guess my real problem right now is that I can't use private repos. I think I've seen some hack for that somewhere, but cna't find it again.
2 years ago
you could likely call the TemplateUpdateV2 mutation to swap in your private repo
Ah, so you propose creating the template with placeholder repos and then swapping placeholder with real private repo through Public API, right ? 🤔 Sounds interesting, I'll need to dig into the docs.
2 years ago
exactly
2 years ago
in an ideal world, you would simply be allowed to create a template with private repos, but upon publishing the template you'd get an error only then saying repos need to be public
2 years ago
Don’t think this will work.
2 years ago
The public repo check exists on the deploy step as well iirc
2 years ago
interesting