---
schema_version: "1"
id: 2e3448db1df87a127130e0ac9fc7488cc1b2c9cc28bcf28654bdf2c59d615084
title: Deploy Metadata to Production
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_use_cases_deploy_prod.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_use_cases_deploy_prod.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 413c68706cb00c546759187d9e7922e89b4a354189d9c66cffba526dad044c07
description: In the final step of the development cycle, move customizations from a source control system such as Git into production with Metadata API.
---
# 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.

#### See Also

- [deploy()](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy.htm "Uses file representations of components to create, update, or delete those components in a Salesforce org.")
- [force:source:push Command](https://developer.salesforce.com/docs/atlas.en-us.264.0.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_push)
- [Deploy a Recently Validated Component Set Without Tests](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_rest_deploy_recentvalidation.htm "You can deploy components to production in less time by skipping the execution of Apex tests when testing requirements have already been met.")