Anthony W
03/05/2025, 7:44 PMMarvin
03/05/2025, 7:45 PMprefect.yml
file. Instead, you can utilize Prefect's event system to achieve this. Here's a concise overview:
1. Event Triggers: Set up an event trigger that listens for the completion of the upstream deployment. Prefect's event system can handle such scenarios by defining events like prefect.flow-run.Completed
.
2. Example Setup: You would typically configure a listener process that waits for the upstream deployment to finish before triggering the downstream deployment. This involves setting up an event feed and defining the appropriate triggers in your code or via the Prefect UI.
3. Prefect YAML: While prefect.yml
handles deployment configurations, environment setup, and scheduling, event triggers are managed outside this file.
For more detailed steps, refer to the Prefect Automations and Triggers documentation and the Prefect YAML documentation.
If you have further questions about configurations or need a specific example, feel free to ask.