Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev GuideAPI Reference
Dev GuideAPI ReferenceLegal TermsDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Deploy using code packages

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

Deploying a code package is recommended for using the Deployment API. This workflow can also be used to do an urgent hotfix deployment to the Production environment without going through the entire workflow of promoting the release through preproduction. However, release through the normal integration, preproduction, and production process 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 the 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.