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?
✅ 1
j
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.
c
Choenden Kyirong
05/02/2023, 6:17 PM
Okay- great. I’ll look into Prefect Projects, thanks @Jeff Hale!
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.