Newer Version Available
Release Your App to Production
Now that all your tests have passed in the Full sandbox, you’re ready to deploy to
production.
- In your deployment run list, complete any pre-deployment tasks.
- Authorize your production org.
-
Set up the quick deploy.
1sfdx force:source:deploy --checkonly --sourcepath force-app --targetusername prod-org --testlevel RunLocalTestsThis command returns a job ID that you reference in the quick deploy.
- After the tests are run, verify that all the Apex tests have passed. Be sure that the tests cover at least 75% of the code being deployed.
-
Run the quick deploy:
1sfdx force:source:deploy --targetusername prod-org --validateddeployrequestid jobID - Open the production org, then perform any post-deployment tasks listed in the deployment run list.