diff --git a/.github/workflows/fix_redirects.sh b/.github/workflows/fix_redirects.sh index 45c0a7f8f..43bb3ec10 100644 --- a/.github/workflows/fix_redirects.sh +++ b/.github/workflows/fix_redirects.sh @@ -1,7 +1,4 @@ #/bin/bash -ls . -lah -ls ../ -lah -ls ../../ -lah find ./site/ -maxdepth 2 -mindepth 2 -type f -name 'index.html' -not -path './site/de/*' -not -path './site/en/*' | while read f; do echo "Fixing redirect '$f'..." sed -i -E 's/\.en\/"/\/"/' $f