Not directly what you are looking for, but it may help.
Currently I am working on a similar task but I haven’t reached the CI/CD pipeline configuration yet. I am planing to use WmPackageManager instead of deployer,. It may help you too.
Double check edit: Unfortunately, it doesn’t support BPMS deployments. Will keep the post in case it helps someone else.