R
Railway•7mo ago
alexbalandi

Private Templates - current state?

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?
9 Replies
Percy
Percy•7mo ago
Project ID: N/A
alexbalandi
alexbalandiOP•7mo ago
N/A
Brody
Brody•7mo ago
what's stopping you from creating an unpublished template for your team?
alexbalandi
alexbalandiOP•7mo ago
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.
Brody
Brody•7mo ago
you could likely call the TemplateUpdateV2 mutation to swap in your private repo
alexbalandi
alexbalandiOP•7mo ago
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.
Brody
Brody•7mo ago
exactly 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
Faraz
Faraz•7mo ago
Don’t think this will work. The public repo check exists on the deploy step as well iirc
Brody
Brody•7mo ago
interesting
Want results from more Discord servers?
Add your server