Zero time deployment process for Magento2
Jun 19, 2020Paul Ryazanov

Summary
This post details the use of Envoyer, a PHP deployment tool, for automating zero-downtime deployments of Magento 2 applications. It explains Envoyer's mechanism of deploying to a 'releases' directory and using symlinks for the 'current' directory. The post also covers connecting Bitbucket repositories, setting up servers with SSH keys, and customizing deployment hooks for Magento 2 specific tasks like running composer dependencies, compiling DI, deploying static content, and upgrading the database. It highlights the importance of shared files like env.php and config.php and provides examples of deployment hooks for activating new releases.