<@ULVA73B9P> Is there a way to add description to ...
# ask-marvin
n
@Marvin Is there a way to add description to deployment as a file instead of string?
m
To include a description in a Prefect deployment, you can specify the description field within the deployment's YAML file. It appears that you cannot directly add a description from a file, but you can certainly edit the generated YAML file to include the description as a string. Here's an example snippet from a deployment YAML:
Copy code
yaml
name: my-deployment-name
description: A detailed description of my deployment here. # Add your description as a string
version: 1.0
...
This YAML configuration is part of the deployment creation process. To create a deployment YAML for your flow, you use the
prefect deployment build
command with the
--output
flag to specify the output filename. For more information, you can check the following Prefect documentation links: - Block-Based Deployments - Deployments