Define an upstream and downstream deployment
event_driven_deployments.py
Test it out
First, start theserve process to listen for scheduled deployments runs:
Check the event feedYou can inspect raw events in the event feed in the UI to see what related resources are available to match against.For example, the following
prefect.flow-run.Completed event’s related resources include: