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 by validating the deployment.
1sf project deploy validate --source-dir force-app --target-org prod-org --test-level 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:
1sf project deploy quick --target-org prod-org --job-id jobID - Open the production org, then perform any post-deployment tasks listed in the deployment run list.