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
✅ 1
Sam Garvis
08/31/2022, 8:57 PM
Also when are the docs for GitHub storage expected to come out?
j
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 https://github.com/PrefectHQ/prefect/issues/new/choose
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.
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.