Thursday, June 13, 2024

Option to Rollback Deployments in Sitecore XM Cloud

 Unfortunately, there is no built-in rollback mechanism in XM Cloud deployments. However, since XM Cloud projects are typically hosted on version control platforms like GitHub, reverting changes is straightforward.

Here’s how you can handle rollbacks:

  1. Revert Changes in Version Control:

    • Navigate to your GitHub repository or equivalent platform.
    • Revert the changes from the problematic deployment by rolling back to a previous commit.
  2. Link to a Stable Branch:

    • Create or switch to a branch with the reverted changes.
    • Update the environment to use this branch.
  3. Rebuild and Redeploy:

    • Trigger the "Build & Deploy" action in XM Cloud for the stable branch.

By leveraging version control, you can efficiently restore your environment to a previously working state. This approach ensures flexibility and control over deployments.

No comments:

Post a Comment