Skip to content

Instantly share code, notes, and snippets.

@lnoering
Created November 16, 2022 15:26
Show Gist options
  • Save lnoering/bde7c9e480e229a7da041052685262a9 to your computer and use it in GitHub Desktop.
Save lnoering/bde7c9e480e229a7da041052685262a9 to your computer and use it in GitHub Desktop.
[Magento Cloud] - Creating new environment to test the upgrade

Creating new environment to test the upgrade

1 - Create new branch from master

git checkout -b cloud/upgrade-2.4.5

2 - Push that branch to cloud

git push -u cloud cloud/upgrade-2.4.5:upgrade-2.4.5

3 - Set that branch to the environment with parent staging

 magento-cloud environment:info -e upgrade-2.4.5 parent staging

4 - Ative o environment

magento-cloud environment:activate -e upgrade-2.4.5

5 - List your environments

magento-cloud environment:list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment