From f3a181a792039e872ec4d44a08ebfc3b849e627c Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 18 Jul 2025 10:54:07 +0100 Subject: [PATCH] Fix shared component diff index generation Because OF COURSE ubuntu has a version of tree from 2023 that doesn't support the '-' to remove the first path element. --- .github/workflows/shared-component-visual-tests-netlify.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/shared-component-visual-tests-netlify.yaml b/.github/workflows/shared-component-visual-tests-netlify.yaml index 24689a7130..eadaffbea5 100644 --- a/.github/workflows/shared-component-visual-tests-netlify.yaml +++ b/.github/workflows/shared-component-visual-tests-netlify.yaml @@ -35,7 +35,7 @@ jobs: path: received-images - name: Generate Index - run: "tree -L 1 --noreport -H '-.' -o received-images/index.html received-images" + run: "cd received-images && tree -L 1 --noreport -H '' -o index.html ." - name: 📤 Deploy to Netlify uses: matrix-org/netlify-pr-preview@9805cd123fc9a7e421e35340a05e1ebc5dee46b5 # v3