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
Kevin Grismore
03/14/2024, 9:06 PM
prefect deployment run *<FLOW_NAME>*/*<DEPLOYMENT_NAME>*
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.