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:
- Build a code package for your application.
- Upload the code package to a package repository in your DXP environment.
- Start deployment of the package to the target environment.
- Track deployment status until the first stage of deployment is completed.
- Validate the site on the slot manually or using automated smoke tests.
- 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.
Updated 8 months ago