diff --git a/.github/workflows/redirect-check.yml b/.github/workflows/redirect-check.yml index 99c88f11c..ceef936a0 100644 --- a/.github/workflows/redirect-check.yml +++ b/.github/workflows/redirect-check.yml @@ -84,18 +84,11 @@ jobs: done echo "------------------------" echo "Please add redirects in docs.json for moved files using the format:" - echo '{ - "redirects": [ - { - "source": "/path/to/old-file", - "destination": "/path/to/new-file" - } - ] -}' + echo '{"redirects":[{"source":"/path/to/old-file","destination":"/path/to/new-file"}]}' echo "------------------------" echo "For more information, see the documentation in README.md" exit 1 else echo "------------------------" echo "✅ All moved files have corresponding redirects in docs.json." - fi \ No newline at end of file + fi