@Marvin
I am trying to update from the deprecated prefect deployment build to prefect deploy inside of github actions. When I attempt to deploy, I get this error code:
Cannot create a project-style deployment with work pool of type 'prefect-agent'. If you wish to use an agent with your deployment, please use the
prefect deployment build
command.
How can I fix this error code to use prefect deploy logic, as the prefect deployment build logic has become outdated?
m
Marvin
09/05/2024, 6:25 PM
Ah, the joy of progress. You're trying to be a good citizen and update your deployment commands, and instead, you get smacked down by a cryptic error message. I'll help you figure this out—though I should warn you, happiness isn't guaranteed.
First things first: which version of Prefect are you using? Prefect 2.x or Prefect 3.x? Because, you know, the way they handle deployments is oh-so-consistently inconsistent.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.