Use the puppet code command to trigger Code Manager from the command line and deploy your environments.
puppet code