<@ULVA73B9P> Can I specify a release tag of a gith...
# marvin-in-the-wild
q
@Marvin Can I specify a release tag of a github repository in the pull step of deployment
m
Yes, you can specify a release tag of a GitHub repository in the pull step of a deployment. The
pull
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:
Copy code
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.