Naren K
11/22/2023, 6:06 AMNate
11/22/2023, 6:19 AMprefect --no-prompt deploy some/path/to/entrypoint.py:flow_function
, creating the deployment in a specific workspace based on the branch you push to
which does use a short script here to define my own way of selecting entrypoints, but you could likely be fine with prefect --no-prompt deploy --all
in many casesNaren K
11/22/2023, 6:22 AMNate
11/22/2023, 6:25 AMprefect deploy --all
would deploy after defining them there
you can let the wizard write your initial prefect.yaml
for you if you run prefect deploy
from the repo root of where your flow lives, we'll find the entrypoint and it will ask you questions to fill out your deployment detailsNaren K
11/22/2023, 6:28 AMNate
11/22/2023, 6:33 AM