https://prefect.io logo
#prefect-community
Title
# prefect-community
j

Jehan Abduljabbar

06/30/2022, 2:21 PM
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

Anna Geller

07/01/2022, 1:23 AM
Can you share your code? Redact any sensitive info
j

Jehan Abduljabbar

07/01/2022, 12:53 PM
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

Anna Geller

07/01/2022, 12:55 PM
access_token_secret is supposed to be the name of your Prefect Cloud Secret - are you on Cloud?
j

Jehan Abduljabbar

07/01/2022, 1:03 PM
I generated the token from GitHub. We are using the server not the cloud.
j

Jehan Abduljabbar

07/01/2022, 1:06 PM
Thank you!
🙌 1
3 Views