I don’t see any docs on what the process is for up...
# prefect-community
s
I don’t see any docs on what the process is for updating code for flows deployed to Prefect Cloud? Is there something like
prefect deployment update
? Do you just nuke your deployment.yaml file, and rerun
prefect deployment build
then
prefect deployment apply foo-deployment.yaml
? Maybe it depends on where storage is located? Im using GCS storage.
1
k
Hi @scott, you would just rebuild and apply the new deployment.
s
Okay, thanks. I assume you then delete the old deployment file?
Or does it get updated?
k
You can also run the build command with a
--apply
which would combine the two commands. It just overwrites the old deployment file if your using the same name.
s
Thanks!