When to push git branch in Magento 2?

When to push git branch in Magento 2?

If you intend to make changes, modify the YAML files in your local branch. The build and deploy scripts access those files for specific settings. For all Starter environments and Pro Integration environments, pushing your Git branch updates all settings and configurations dependent on these files.

When do build and deploy scripts activate in Magento?

Build and deploy scripts activate when you merge code to a remote environment. These scripts use the environment configuration files and application code to prepare data and configurations to provision Cloud infrastructure and services, and to install or update the application and third-party and custom extensions in the Cloud environment.

How to test Magento in a local environment?

Use the magento-cloud local:build command to test the build in your local environment. Identify and fix any issues related to composer dependencies and environment and application configuration before deploying to a remote environment. See Test build your code locally before deployment.

How to check the status of a Magento deployment?

You can merge to the Staging and Production environments using the Project Web Interface or using SSH and Magento Cloud CLI commands. You can track build and deploy actions in real-time using the terminal or the Project Web UI Status messages— in-progress, pending, success, or failed —display during the deployment process.

What’s the build and deploy process in Magento?

The build and deploy process is slightly different for each plan: Starter plans —For the Integration environment, every active branch builds and deploys to a full environment for access and testing. Fully test your code after merging to the staging branch. To launch your site, push staging to master to deploy to the Production environment.

Where can I find the Magento deployment logs?

However, you can view logs for every phase of the deployment in any environment using the Magento build and deploy logs. For troubleshooting information, see the Deployment error reference. A set of YAML configuration files located in the project root directory define your Magento installation and describe its dependencies.

Where are the YAML configuration files located in Magento?

A set of YAML configuration files located in the project root directory define your Magento installation and describe its dependencies. If you intend to make changes, modify the YAML files in your local branch.