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.