<@ULVA73B9P> Can I specify a version of a github r...
# marvin-in-the-wild
q
@Marvin Can I specify a version of a github repository in the pull step of deployment
m
Yes, you can specify a version of a GitHub repository in the pull step of a deployment using the
git_clone
action in Prefect. Here's an example configuration for the pull step within `prefect.yaml`:
Copy code
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/
q
Can I use release tag in the branch field?