Qiong Liu
07/19/2024, 2:41 PMMarvin
07/19/2024, 2:41 PMgit_clone
action in Prefect.
Here's an example configuration for the pull step within `prefect.yaml`:
pull:
- prefect.deployments.steps.git_clone:
repository: <https://github.com/org/repo.git>
branch: "your-branch"
credentials: "{{ prefect.blocks.github-credentials.my-credentials }}"
This configuration allows you to specify a particular branch (version) of your GitHub repository to pull during the deployment. You can also use GitHubCredentials blocks for accessing private repositories.
For more detailed information, check out these links:
* https://docs.prefect.io/latest/guides/prefect-deploy/
* https://docs.prefect.io/latest/integrations/prefect-bitbucket/repository/
* https://docs.prefect.io/latest/guides/ci-cd/Qiong Liu
07/19/2024, 2:44 PM