HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

Deploy using code packages

Describes how to deploy using code packages in the Optimizely Digital Experience Platform (DXP).

Deploying using a code package is the recommended way to use the Deployment API. This workflow can also be used to do an urgent hotfix deployment to the Production environment, without having to go through the entire workflow of promoting the release through Preproduction first. However, releasing through the normal process of Integration, Preproduction and Production is still recommended.

The deployment process is as follows:

  1. Build a code package for your application.
  2. Upload the code package to a package repository in your DXP environment.
  3. Start deployment of the package to target environment.
  4. Track deployment status until the first stage of deployment is completed.
  5. Validate the site on the slot, manually or using automated smoke tests.
  6. Complete or Reset deployment depending on the validation results.

📘

Note

You can deploy code package to the Integration environment directly using Deployment API instead of the conventional way of publishing the code from Visual Studio. However when you do so, config transformation will be applied on the code deployed to Integration, if the deployment engine sees a valid transformation file to apply.  For example, if there is a web.integration.config, it will be processed as part of the deployment flow. This is similar to when you deploy code from Integration to another environment using DXP management portal.