<@ULVA73B9P> trigger deployment from command line
# ask-marvin
a
@Marvin trigger deployment from command line
m
To trigger a deployment from the command line, you would use the Prefect CLI with the
deploy
command, specifying the deployment's name if necessary. Here's an example of how to deploy a particular deployment:
Copy code
sh
prefect deploy --name deployment-1
If you would like to trigger multiple deployments, you can provide the
--name
flag multiple times with the names of the deployments you wish to deploy. Please note that deployment triggers are only available in Prefect Cloud and can be configured to run the deployment based on the presence or absence of events. Reference links: - Deployment documentation - Prefect deploy guide
k
prefect deployment run *<FLOW_NAME>*/*<DEPLOYMENT_NAME>*
prefect deployment run --help
for all the options