diff --git a/.github/workflows/openrpc-docs.yml b/.github/workflows/openrpc-docs.yml index 6b69170f6..ad32ac0ca 100644 --- a/.github/workflows/openrpc-docs.yml +++ b/.github/workflows/openrpc-docs.yml @@ -93,8 +93,8 @@ jobs: - name: Fix paths working-directory: ./docs/rpc/docs/gatsby # fix: 🐛 support gatsby path prefix https://github.com/open-rpc/generator/pull/708 - run: sed -ie 's/href="\/api-documentation"/href="api-documentation"/g' public/**/*.html - + run: find . -type f -path 'public/**/*.html' -exec sed -ie 's/href="\/api-documentation"/href="api-documentation"/g' {} \; + - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: