@Marvin Can I specify a release tag of a github repository in the pull step of deployment
m
Marvin
07/19/2024, 2:58 PM
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.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.