I'm curious if there is a way to use the `prefect ...
# ask-community
l
I'm curious if there is a way to use the
prefect deploy
CLI command non-interactively? I've defined deployments in
./prefect.yaml
and would like the deployments to be created without answering these questions interactively, e.g. in a continuous deployment setting: •
Would you like to build a custom Docker image for this deployment? [y/n] (n):
Would you like to save configuration for this deployment for faster deployments in the future? [y/n]:
I guess there's
yes n | prefect deploy --all
as long as the questions don't change with different versions of prefect, and
n
is my desired question to each question 🙂
n
hi @Luke Orland - yes! you can do
prefect --no-prompt <command group>
to disable all interactivity
thank you 1
209 Views