From 406c628f66851a3fa8438e0f062db1c732f62145 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Wed, 13 Nov 2024 10:38:44 -0500 Subject: [PATCH] fix: Restore legacy/ subdirectory, redirecting to legacy-validator --- .github/workflows/web_build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/web_build.yml b/.github/workflows/web_build.yml index 4297bdcb..b99587a1 100644 --- a/.github/workflows/web_build.yml +++ b/.github/workflows/web_build.yml @@ -61,6 +61,13 @@ jobs: working-directory: dev/web - name: Nest dev inside stable run: mv dev/web/dist stable/web/dist/dev + - name: Add legacy/ redirect + run: | + mkdir $DIR + echo '' > $DIR/index.html + env: + DIR: stable/web/dist/legacy + URL: https://bids-standard.github.io/legacy-validator/ - name: Upload GitHub Pages artifact uses: actions/upload-pages-artifact@v3 with: