I want to have a stage in my .gitlab-ci.yml run every script with a Deployment.build_from_flow and apply. I did this in Prefect run with register and used wildcard for path. But in Prefect 2 I am finding it better to build and apply deployments through scripts. But I would also need that step automated in the ci pipeline. How can I do this?
As a side note it seems you have to be in the scripts directory when you do this otherwise you get the entire directory structure below saved to your storage block as well…