diff --git a/.hosting/platformsh/.platform.app.template.yaml b/.hosting/platformsh/.platform.app.template.yaml index 263780ce..c12eadeb 100644 --- a/.hosting/platformsh/.platform.app.template.yaml +++ b/.hosting/platformsh/.platform.app.template.yaml @@ -82,7 +82,14 @@ hooks: drush -l $site -y cache-rebuild drush -l $site -y config-import drush -l $site -y updatedb - drush -l $site import-all-if-installed safe + drush -l $site import-blocks-taxonomies + if [ "$PLATFORM_ENVIRONMENT_TYPE" = production ]; then + # Disable QA logons + drush -l $site bulk_update_qa_accounts disable + else + # Enable QA logons + drush -l $site bulk_update_qa_accounts enable + fi # Turn off readonly mode. drush -l $site cset readonlymode.settings enabled 0 -y done