```# Prefect version, path: clients/GOOGLE/test_fl...
# ask-marvin
v
Copy code
# Prefect version, path: clients/GOOGLE/test_flow/prefect.yaml
prefect-version: 3.2.9  # Replace with the Prefect version you're using
name: test-flow

pull:
- prefect.deployments.steps.git_clone:
    id: clone-step   # needed to be referenced in subsequent steps
    repository: <https://github.com/user/codebase.git>
    credentials: '{{ prefect.blocks.github-credentials.github-credential-user }}'
- prefect.deployments.steps.pip_install_requirements:
    id: requirements-step   
    directory: clients/GOOGLE/test_flow
    requirements_file: requirements.txt

# Deployment configurations
deployments:
- name: test-flow-github-deploy
  entrypoint: flows/test_flow.py:test_flow
  work_pool:
    name: default-pool
    work_queue_name:
    job_variables: {}
  schedule:
  parameters: 
  version: '0.1'
  tags: []
  concurrency_limit:
  description: 
  schedules: []
my run fails because its expecting
flows/test_flow.py
to be at root of repo where as it is inside
clients/GOOGLE/test_flow
, the same location as
requirements.txt
and my
prefect.yaml
for this flow deploy. if I change entrypoint to ``clients/GOOGLE/test_flow/flows/test_flow.py`` then the deploy fails since it runs entrypoint relative to prefect.yaml path. here is the dir struct:
Copy code
repo_root:
- clients/GOOGLE/test_flow/flows
- clients/GOOGLE/test_flow/tasks
- clients/GOOGLE/test_flow/prefect.yaml
- clients/GOOGLE/test_flow/requirements.txt
- clients/YAHOO/test_flow/flows
- clients/YAHOO/test_flow/tasks
- clients/YAHOO/test_flow/prefect.yaml
- clients/YAHOO/test_flow/requirements.txt
endgoal is to use one repo to manage all clients flows, how do I set directory inside deployments if my yaml files are inside each client folders?