HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Deploy Using Source Environment

This topic describes how you can deploy code from a source environment using the Deployment API for Optimizely Digital Experience Platform (DXP).

How it works

This functionality is similar to the deployments done through DXP management portal. You can copy a BLOB/DB from a source environment to target by deploying with this approach. You can also deploy content only (BLOBs/DB), which you cannot do using the code package deployments. When you deploy using the source environment, you can specify which of the two apps (CMS/Commerce), or both, that you want to copy from a source environment to target.

The deployment process is as follows:

  1. Start deployment from source environment to target environment.
  2. Track deployment status until the first stage of deployment is completed.
  3. Verify the site on the slot (manually or using automated smoke tests).
  4. Complete or Reset deployment depending on the verification results.

Did this page help you?