Newer Version Available

This content describes an older version of this product. View Latest

Deploy Metadata to Production

In the final step of the development cycle, move customizations from a source control system such as Git into production with Metadata API.

When your team finishes integration tests and is ready to deploy to production, move the completed customizations from a local environment to the repository. For the release, move metadata from the repository to production by pulling the updated repository back to the local environment with Git commands. Next, deploy metadata to production with Metadata API deploy call.

Moving metadata to production requires a deploy call instead of a push command because the deploy call deploys the entire metadata model and not just changes in the metadata.

Deploy Recent Validation

A regular deploy call executes automated Apex tests that can take a long time to complete. To skip tests for validated components and deploy components to production quickly, use the deploy recent validation option.