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: