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:
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.
Link to a Stable Branch:
- Create or switch to a branch with the reverted changes.
- Update the environment to use this branch.
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