From b38ab8a0ab27485a966d179b381bf789969458e0 Mon Sep 17 00:00:00 2001 From: Petro Kurbatskyi <67897517+ibexa-yuna@users.noreply.github.com> Date: Fri, 24 Nov 2023 13:26:37 +0100 Subject: [PATCH] Enabled Varnish cache clearing post nightly deploy --- .../platformsh/ibexa-commerce/4.6.x-dev/.platform.app.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/platformsh/ibexa-commerce/4.6.x-dev/.platform.app.yaml b/resources/platformsh/ibexa-commerce/4.6.x-dev/.platform.app.yaml index 2a9f4ef..82d48f5 100644 --- a/resources/platformsh/ibexa-commerce/4.6.x-dev/.platform.app.yaml +++ b/resources/platformsh/ibexa-commerce/4.6.x-dev/.platform.app.yaml @@ -218,8 +218,9 @@ hooks: # Post deploy hook, like deploy but after being deployed and live, for deploy tasks we can do asynchronously # Tip: As this is running while web is running, and it's async, avoid doing anything like cache clearing that affects web requests here. - #post_deploy: | - # set -e + post_deploy: | + set -e + php bin/console fos:httpcache:invalidate:tag ez-all # The configuration of scheduled execution. # see https://docs.platform.sh/configuration/app/cron.html#cron-jobs