Qiong Liu
07/19/2024, 2:48 PMMarvin
07/19/2024, 2:58 PMpull
section is crucial for preparing your flows for deployment runs, and you can use the git_clone
step to clone from a GitHub repository. Here's an example configuration:
pull:
- prefect.deployments.steps.git_clone:
repository: "<https://github.com/org/repo.git>"
credentials: "{{ prefect.blocks.github-credentials.my-credentials }}"
branch: "release-tag" # Specify your release tag or branch here
This step will clone the specified repository on the provided branch (or tag) every time the deployment runs.
You can find further information in the Prefect documentation here.