First, go to the Prefect UI and create a GCS block:
This will assume that you want to run your flow in a local process, i.e. using a
Process block. To use a different type of infrastructure, check recipes for Docker and Kubernetes.
prefect deployment build flows/hello.py:hello --name dev --tag dev --storage-block gcs/dev prefect deployment apply deployment.yaml
You should now see the entire project copied into your GCS bucket
When you run the
apply commands, you should expect output similar to:
prefect agent start --tag dev
You should see that your agent picked up the run:
You’re all set!