Choenden Kyirong

04/20/2023, 8:56 PM
If i’m updating the code of a deployed flow, do i need to delete the flow and redploy? Or will runs reflect the changed code automatically?

Jeff Hale

04/21/2023, 12:53 AM
That depends. You don’t need to delete the deployment. If you are making changes to the entrypoint flow’s params, for example, you’ll want to redeploy. The deployment will be updated. With some storage, for example S3 , you can redeploy and have the flow code pushed - which is something you’d want. If you’re using Prefect Projects, introduced in 2.10, the build, push, and pull steps help you see more clearly what’s being built, pushed, and pulled when you run a deployment.

Choenden Kyirong

05/02/2023, 6:17 PM
Okay- great. I’ll look into Prefect Projects, thanks @Jeff Hale!
🙌 1