Ben Zehavi
02/05/2024, 12:32 PMdeploy
function parameters?Marvin
02/05/2024, 12:32 PMdeploy
function parameters, pull steps correspond to instructions for preparing your flows for a deployment run that are executed each time the deployment is triggered via a worker. Here are three main types of pull steps that typically appear:
- `set_working_directory`: This step sets the working directory for the process prior to importing your flow.
- `git_clone`: This step clones the provided repository on the provided branch.
- `pull_from_{cloud}`: This step pulls the working directory from a cloud storage location such as S3.
Block and variable references within your pull step will remain unresolved until runtime and will be pulled each time your deployment is run, which allows you to avoid storing sensitive information in your codebase.
For more detailed information, you can refer directly to the Prefect documentation: Prefect Deploy Function Guide.