Newer Version Available

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

Release Your App to Production

Now that all your tests have passed in the Full sandbox, you’re ready to deploy to production.
  1. In your deployment run list, complete any pre-deployment tasks.
  2. Authorize your production org.
  3. Set up the quick deploy by validating the deployment.
    1sf project deploy validate --source-dir force-app --target-org prod-org --test-level RunLocalTests

    This command returns a job ID that you reference in the quick deploy.

  4. 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.
  5. Run the quick deploy:
    1sf project deploy quick --target-org prod-org --job-id jobID
  6. Open the production org, then perform any post-deployment tasks listed in the deployment run list.