Customize deployments with environment variables in Adobe Commerce Cloud
Learn how to optimize and control Adobe Commerce Cloud deployments using environment variables in the .magento.env.yaml file.
Lesson Content
Adobe Commerce Cloud gives you environment variables that control exactly how your deployments run. These variables go in your .magento.env.yaml file, and can dramatically change your deployment behavior.
Variable scopes
There are four different scopes in which you can place variables within:
global: controls actions across each phase of the deployment processbuild: controls actions in the build phase, and inherits/overrides Global valuesdeploy: controls actions in the deploy phase, and inherit/override Global valuespost-deploy: controls actions in the post-deploy ph...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.