s

    shijas km

    7 months ago
    hi a quick question we have created prefect flows in our dev env and using prefect cloud to schedule and run now we need to implement ci/cd to automate deployment to prod env, how can we achieve it we are not using docker for prefect what is the easiest method for ci/cd for prefect
    Michael Adkins

    Michael Adkins

    7 months ago
    Hey! It depends on how you’re storing your flows, but generally a GitHub action with the
    prefect register
    CLI is easiest. You can deploy flows to prod when they change branches or you can have a different folder for
    prod
    and just move them over. You can see a discussion of patterns at https://github.com/PrefectHQ/prefect/discussions/4042
    Anna Geller

    Anna Geller

    7 months ago
    You can also check out the CI-CD tag in Discourse - there is e.g. one blog post there that demos how you could set it up in CircleCI