Santiago Toso
06/14/2024, 8:46 AMprefect.deployments.steps.git_clone from GitLab?Marvin
06/14/2024, 8:47 AMprefect.deployments.steps.git_clone step for your deployment:
yaml
pull:
- prefect.deployments.steps.git_clone:
repository: <https://gitlab.com/your-org/your-repo.git>
credentials: "{{ prefect.blocks.gitlab-credentials.my-credentials }}"
In this example:
- repository specifies the URL of your GitLab repository.
- credentials refers to a GitLabCredentials block (defined in the Prefect UI or API), which provides the necessary authentication for cloning the repository.
For more details, you can refer to the Prefect Deployment Guide or the Specific GitLab Integration Documentation.