Skip to content

Commit

Permalink
fix: πŸ› workdir for find and replace, missing target path
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Aug 17, 2023
1 parent 6af75fe commit 442569a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/openrpc-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 442569a

Please sign in to comment.