Post-deploy variables

The following post_deploy variables control actions in the post-deploy phase and can inherit and override values from the Global variables. Insert these variables in the post-deploy stage of the .magento.env.yaml file:

stage:
  post-deploy:
    POST-DEPLOY_VARIABLE_NAME: value

For more information about customizing the build and deploy process:

WARM_UP_PAGES

  • Defaultindex.php
  • Version—Magento 2.1.4 and later

Customize the list of pages used to preload the cache in the post_deploy stage.

stage:
  post-deploy: 
    WARM_UP_PAGES:
       - "index.php"
       - "index.php/customer/account/create"