deploy with cap