<@ULVA73B9P> I am trying to update from the deprec...
# ask-marvin
c
@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
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.
c
2.x currently