From 8b176f79f79ea24aa23114e0e3c53a4591821e46 Mon Sep 17 00:00:00 2001 From: Micha Hobert Date: Thu, 7 Dec 2023 08:37:30 +0100 Subject: [PATCH] Test error --- .github/scripts/file-watcher.sh | 1 + guides/hosting/infrastructure/filesystem.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/file-watcher.sh b/.github/scripts/file-watcher.sh index 89d6551cd..a6726ca78 100755 --- a/.github/scripts/file-watcher.sh +++ b/.github/scripts/file-watcher.sh @@ -20,6 +20,7 @@ find $WATCHER_PATH -type f -print0 | while IFS= read -r -d '' file; do WATCHER_CONTAINS=$(echo $JSON | jq -r '.WATCHER_CONTAINS') # Get the hash of the URL + echo $WATCHER_URL EVAL_HASH="curl -sl $WATCHER_URL | md5sum | cut -d ' ' -f 1" CALLED_HASH="$(eval $EVAL_HASH)" diff --git a/guides/hosting/infrastructure/filesystem.md b/guides/hosting/infrastructure/filesystem.md index 7890a4fa6..134ee2c42 100644 --- a/guides/hosting/infrastructure/filesystem.md +++ b/guides/hosting/infrastructure/filesystem.md @@ -59,7 +59,7 @@ shopware: url: "{url-to-your-sitemap-files}" # The Adapter Configuration -# {"WATCHER_URL":"https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/Framework/Resources/config/packages/shopware.yaml","WATCHER_HASH":"183f85ba8f15e8e7d0006b70be20940f"} +# {"WATCHER_URL":"https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/Framework/Resources/config/packages/shopware.yaml","WATCHER_HASH":"183f85ba8f15e8e7d0006b70be20940f","WATCHER_CONTAINS":"filesystem"} ``` If you want to regulate the uploaded file types, then you could add the keys `allowed_extensions`for the public filesystem or `private_local_download_strategy` for the private filesystem.