Hello 👋 I have a self-hosted Prefect (deployed with helm on k8s), is it possible to connect to the Orion API for example from GitHub Actions to deploy flows from the CI? Thanks!
01/24/2023, 2:56 PM
Hi @Malek - if I understand correctly, that sounds totally doable.
I would just make sure your Orion deployment will accept network requests from your GitHub action runner (docs that may be helpful depending on your cluster networking setup)
once you can talk to your self-hosted server from the GitHub action, it'd just be a matter of setting your API url / key as repo secrets and running some
prefect deployment build ... --apply
commands in the workflow (here are some examples of GitHub Actions)
01/24/2023, 3:08 PM
Thanks @Nate! So this means that I don't need to expose the API to the public internet and rather have GitHub actions runners connect to the private network where it's hosted right?
01/24/2023, 3:17 PM
That sounds right - that's my understanding from reading those docs!