diff --git a/.github/workflows/update-swagger.yml b/.github/workflows/update-swagger.yml index 7bcb62a..69ff911 100644 --- a/.github/workflows/update-swagger.yml +++ b/.github/workflows/update-swagger.yml @@ -34,7 +34,7 @@ jobs: mv dist/index.html . # Fix references in index.html sed -i "s|https://petstore.swagger.io/v2/swagger.json|$SWAGGER_YAML|g" index.html - sed -i "s|href=\"./|href=\"dist/|g" docs/index.html + sed -i "s|href=\"./|href=\"dist/|g" index.html sed -i "s|src=\"./|src=\"dist/|g" index.html sed -i "s|dist/favicon|icons/favicon|g" index.html sed -i "s|.*|$TITLE|g" index.html