Skip to content

Commit 116e7cb

Browse files
authored
Merge pull request #108 from effigies/redirect-legacy
fix: Restore legacy/ subdirectory, redirecting to legacy-validator
2 parents abb54ae + 406c628 commit 116e7cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/web_build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ jobs:
6161
working-directory: dev/web
6262
- name: Nest dev inside stable
6363
run: mv dev/web/dist stable/web/dist/dev
64+
- name: Add legacy/ redirect
65+
run: |
66+
mkdir $DIR
67+
echo '<html><meta http-equiv="refresh" content="0; URL='$URL'"></html>' > $DIR/index.html
68+
env:
69+
DIR: stable/web/dist/legacy
70+
URL: https://bids-standard.github.io/legacy-validator/
6471
- name: Upload GitHub Pages artifact
6572
uses: actions/upload-pages-artifact@v3
6673
with:

0 commit comments

Comments
 (0)