Sam Garvis

08/31/2022, 8:55 PM
In Prefect 2.0, does GitHub storage work with private Git repos? I don't really see an option to pass in creds or an api key to git
Also when are the docs for GitHub storage expected to come out?

Jeff Hale

08/31/2022, 9:14 PM
GitHub storage is read only right now and only work with public repos, although authentication with private repos should be in the works before long. If that’s a feature you’d like, please open an issue at Docs should be update soon. Theres’ an example of using the GitHub read only storage block from the command line in Anna’s blog post from yesterday. Basically just use:
-sb github/my_gh_block_name
from the command line or import the GitHub block and pass it to the storage argument.