Use the Content Hub CLI for deployment automation
To use the Content Hub CLI for package-based CI/CD deployment automation, follow this workflow:
- Install the Content Hub CLI
- Log in with the CLI
- Initialize your working folder
- Export packages from the source environment
- Import packages into the target environment
The following list shows examples of common calls used in deployment automation. Replace package.zip with a valid file name.
Note
To help you use the Content Hub CLI for deployment automation, we provide an example using an Azure pipeline. Refer to the general best practices for guidance. Migrate changes between instances contains additional information about migrating data.
If you have suggestions for improving this article, let us know!