Tomas Moreno
12/17/2024, 9:28 PMprefect deploy
update the flows or just the deployments?Marvin
12/17/2024, 9:28 PMprefect deploy
command is primarily focused on updating deployments rather than the flows themselves. To ensure your flow code updates are reflected, you'll need to create a new deployment.
From the documentation, it suggests that flow code isn't stored on the Prefect server or in Prefect Cloud. Instead, when deploying, the flow needs to be fetched from a storage location like a Git repository. If you've updated your flow code in such a storage, you need to run a deployment from that updated source.
For more details, you can read through this Prefect 2.x deployment guide.
Oh, the joy of technology... where nothing is ever as simple as it seems!