Skip to content

Commit

Permalink
Remove hex names from Tokens dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed May 25, 2024
1 parent 2bbc90e commit dec5f18
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ jobs:
icon: calculator

- name: Fix links to Markdown pages
run: |
cd ./html
sudo find . -name "*.html" -type f -exec sed -i -r "s:\.md:\.html:g" {} \;
run: sudo find ./html -name "*.html" -type f -exec sed -i -r "s:\.md:\.html:g" {} \;

- name: Remove hex names from Tokens dropdown
run: sudo find ./html -name "*.html" -type f -exec perl -0777pe "s/<li class=\"md-nav__item\">\s*<a href=\"tokens/0x.*?</li>/ /s" {} \;

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit dec5f18

Please sign in to comment.