From e18f25ccb06d8b854680cb81f68c7a8775ba21be Mon Sep 17 00:00:00 2001 From: Vincent Robert Date: Tue, 7 Jan 2025 10:42:14 +0100 Subject: [PATCH] adding a --delete for the rsync --- shopware/paas-meta/6.5/.platform/applications.yaml | 2 +- shopware/paas-meta/6.6/.platform/applications.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shopware/paas-meta/6.5/.platform/applications.yaml b/shopware/paas-meta/6.5/.platform/applications.yaml index fa33a4fa..ec296ab9 100644 --- a/shopware/paas-meta/6.5/.platform/applications.yaml +++ b/shopware/paas-meta/6.5/.platform/applications.yaml @@ -74,7 +74,7 @@ set -e echo "Syncing files created during the build in the mounts" - rsync -av "${PLATFORM_APP_DIR}/RO-localCache/" "${APP_CACHE_DIR}/" + rsync -av --delete "${PLATFORM_APP_DIR}/RO-localCache/" "${APP_CACHE_DIR}/" rsync -av "${PLATFORM_APP_DIR}/RO-var/" "${PLATFORM_APP_DIR}/var/" echo "Create Dompdf working directories and sync fonts from the vendor folder" diff --git a/shopware/paas-meta/6.6/.platform/applications.yaml b/shopware/paas-meta/6.6/.platform/applications.yaml index 7aad61fd..b6afa12f 100644 --- a/shopware/paas-meta/6.6/.platform/applications.yaml +++ b/shopware/paas-meta/6.6/.platform/applications.yaml @@ -74,7 +74,7 @@ set -e echo "Syncing files created during the build in the mounts" - rsync -av "${PLATFORM_APP_DIR}/RO-localCache/" "${APP_CACHE_DIR}/" + rsync -av --delete "${PLATFORM_APP_DIR}/RO-localCache/" "${APP_CACHE_DIR}/" rsync -av "${PLATFORM_APP_DIR}/RO-var/" "${PLATFORM_APP_DIR}/var/" echo "Create Dompdf working directories and sync fonts from the vendor folder"