Adam
03/23/2025, 9:42 AMpull:
- prefect.deployments.steps.git_clone:
repository: <https://github.com/account/repo_name.git>
credentials: "{{ prefect.blocks.github-credentials.github-pat }}"
I get :
raise RuntimeError(
RuntimeError: Failed to clone repository '<https://github.com/account/repo_name.git>' with exit code 128.
But not when the repo is public, but the credentials are there so it should work when it's private as wellMarvin
03/23/2025, 9:43 AM{{ prefect.blocks.github-credentials.github-pat }}
and should match the block you've configured with your PAT.
3. Repository URL: Double-check the repository URL. It should not include angle brackets (< >
). Ensure it's correctly specified as <https://github.com/account/repo_name.git>
.
4. Network Access: Ensure that the network where the Prefect agent or worker is running has access to the internet and can reach GitHub.
If these checks don't resolve the issue, consider reviewing any specific configurations or logs that might provide more insights. You might also want to look into the GitHub issue discussing similar problems for additional context.
If you need further assistance, providing more details about your setup might help in diagnosing the problem.