https://prefect.io logo
Title
t

Tony Popov

09/22/2022, 11:47 PM
One more question, is it possible to make a single deployment with multiple flows? Asking because when I try to do
prefect deployment build ./path/to/flow.py …
cli uploads all files in
./
to Storage
2
m

Matt Conger

09/22/2022, 11:51 PM
Hey Tony, each deployment is associated with a single flow, but any given flow can be referenced by multiple deployments. I've included some documentation here. https://orion-docs.prefect.io/concepts/deployments/#multiple-deployments-for-a-flow
This thread shows a pattern of of how to deploy multiple flows, but be aware that it was from an earlier version of Prefect where deployments were considerably different. https://prefect-community.slack.com/archives/CL09KTZPX/p1659243754595869
:upvote: 1
t

Tony Popov

09/22/2022, 11:55 PM
Thanks Matt, last resource is very interesting
👍 1