Skip to main content

Sitecore Content Sync with Sitecore Content Serialization in Azure DevOps

Sitecore Content Sync with Sitecore Content Serialization in Azure DevOps

I have been working on Sitecore 10.2 with Sitecore Content Serialization and I wanted to deploy Sitecore items on VM using Azure DevOps. When I started working on deployment, I rarely find blogs related to this so I thought to write a blog on this topic:

Prerequisite:

Step 1: Add a task in the Azure DevOps pipeline

In the pipeline, add a PowerShell task. This PowerShell task will generate the Sitecore content package.



In the PowerShell task, update the below settings:

Task Version: 2.*
Display Name:  PowerShell Script - Content Package Creation
Type: Inline
Script:


Step 2:  Add a task in the Azure DevOps release pipeline

  • Add a new PowerShell task
  • In the PowerShell task, update the below settings:
    Task Version: 1.*
    Display Name:  PowerShell Script
    Type: Inline Script
    Arguments: -workingDirectory "$(System.DefaultWorkingDirectory)/<Name>/drop"
Inline Script

More about this command you can read here

Comments