Need Help in prefect flow deployment automation, any GitHub repo that can be referred #CL09KU1K7#C03D12VV4NN#C04DZJC94DC #
n
Nate
11/22/2023, 6:19 AM
hi @Naren K - in my experience there's a lot of different ways to create deployments in CI
but here is one way with github actions to selectively deploy flows from edited files with
, creating the deployment in a specific workspace based on the branch you push to
which does use a short script here to define my own way of selecting entrypoints, but you could likely be fine with
prefect --no-prompt deploy --all
in many cases
❤️ 1
n
Naren K
11/22/2023, 6:22 AM
@Nate looking for something in YAML forms and that can be deployed from local env
n
Nate
11/22/2023, 6:25 AM
cool, the linked example is referencing my `prefect.yaml` where my deployments are defined, all of which
prefect deploy --all
would deploy after defining them there
you can let the wizard write your initial
prefect.yaml
for you if you run
prefect deploy
from the repo root of where your flow lives, we'll find the entrypoint and it will ask you questions to fill out your deployment details
n
Naren K
11/22/2023, 6:28 AM
Is it possible to deploy from a local machine instead of accessing CLI
n
Nate
11/22/2023, 6:33 AM
can you explain what you mean local machine in this context?
if im just on my laptop, i can do the following to create a deployment - is that helpful?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.