use cap to deploy