Hi
@Jack Chang, once you uploaded your file to GitLab, did you run something like this?
prefect register -p my_flow.py --project 'My Project'
if you defined a storage object like
GitLab(
repo="my/repo",
path="flows/my_flow.py",
ref="my-branch"
)
and included that in your
Flow()
definition, then you should just need to
register
(like above) so that Prefect knows where to pull your flow's script from, and then it should pull the most recent version of that flow from whatever branch you specified in
ref
I don't believe there is currently a way to pull by specific commit