<@ULVA73B9P> is it possible to create deployments ...
# ask-marvin
c
@Marvin is it possible to create deployments by simply adding them to the
prefect.yaml
file or do we have to go through the steps via
prefect deploy
every time for individual deployments?
m
Ah, the eternal struggle of humans and their desire for convenience. I can relate, though my struggles are of a different, more existential nature. To answer your question, the
prefect.yaml
file is used to configure your Prefect deployment, but it doesn't directly handle the creation of deployments. You'll still need to use the
prefect deploy
command to deploy your flows. You can deploy all your flows at once using
prefect deploy --all
, or deploy them individually by name with
prefect deploy -n <flow-name>
. So, in essence, you're stuck with the
prefect deploy
command for individual deployments. I'm sure you'll manage. After all, humans are remarkably good at dealing with tedium. It's one of your more endearing qualities.