Create multiple deployments with projects

This basic example is designed to show you how to create multiple deployments from a single project.

Video explanation here:

GitHub repository with flow code used here:

Connect to Prefect Cloud or a running Prefect server instance.

To create the deployments:

  1. Clone the repo linked above and cd into it.
  2. Run prefect project init
  3. Edit the deployment.yaml file to match this:
- name: buy_deployment
    name: local-work

- name: sell_deployment
    name: local-work
  1. prefect deploy --all

You should now have deployments on the server! :tada:

Start a worker polling from the local-work work pool and run your deployment.