Hello, when registering flow with for github stora...
# ask-community
j
Hello, when registering flow with for github storage, as in the steps here: https://docs.prefect.io/core/idioms/script-based.html I get "building local storage" in the terminal instead of "building github storage". Any idea why this could be happening?
1
a
Can you share your code? Redact any sensitive info
j
Hi, sorry for the late reply. from prefect.storage import GitHub . . . flow.storage = GitHub(repo = 'repo name', path = 'prefect-storage-test2.py', access_token_secret='my token') then in the terminal: git add . git commit -m 'testing storage' git push prefect register -p prefect-storsge-test2.py --project myprojectname
a
access_token_secret is supposed to be the name of your Prefect Cloud Secret - are you on Cloud?
j
I generated the token from GitHub. We are using the server not the cloud.
j
Thank you!
🙌 1