Hi all, to deploy flows I use the following python...
# ask-community
c
Hi all, to deploy flows I use the following python code snippet:
Copy code
params = {
    "flow": tested_flow,
    "name": deploy_name,
    "tags": tags,
    "apply": True,
    "storage": S3.load(storage_name),
    "infrastructure": KubernetesJob.load(k8s_job_name),
    "version": deploy_vers
}

params = {**params, **kwargs}

dep = Deployment.build_from_flow(**params)
Is it possible to avoid uploading all files (not included in the prefectignore of course) whenever a new deployment is done? I mean if I have to deploy 10 flows, can I upload all the files to the s3 block only the first time and avoid it for the others?