This DDEV add-on adds a ddev phploy command to handle deployments through phploy, it includes its own docker container to avoid PHP versions issues.
ddev add-on get https://github.com/opixido/ddev-addon-phploy/tarball/master
ddev restart
Just like phploy, but prefixed with ddev
ddev phploy -s server -l
If you are using phploy actions like pre-deploy, you need to be aware of the context of thoses actions, because they will run inside the phploy container.
So curl, git, cp, mv, ... and other basic linux commands will be okay, but if you need actions specific to the web container you need to run them inside the web container, so you will have to prefix them with docker exec ddev-[PROJECT_NAME]-web
For example to start a sass command if sass is installed in the web container :
pre-deploy[] = "docker exec ddev-[YOUR-PROJECT-NAME]-web sass --style=compressed src/all.scss:css/all.min.css"