<@ULVA73B9P> Why am I getting this message? Deploy...
# ask-marvin
s
@Marvin Why am I getting this message? Deployment storage None does not have upload capabilities; no files uploaded. Pass --skip-upload to suppress this warning.
m
The message you're seeing is related to Prefect's storage configurations for deployments. When you're building a deployment for a workflow, you have two options for configuring workflow storage: 1. Use the default local storage 2. Preconfigure a storage block to use If you call
prefect deployment build
without providing the
--storage-block
flag, a default LocalFileSystem block will be used. The warning message "Deployment storage None does not have upload capabilities; no files uploaded." suggests that the deployment storage is not configured correctly. It seems like Prefect is trying to upload files to a storage that doesn't support file uploads. The
--skip-upload
flag is used to suppress this warning. If you pass this flag when building your deployment, Prefect will not attempt to upload any files to the storage. For more detailed information, you can refer to the Prefect's storage guide.