Skip to content

Commit

Permalink
Limit link fixing to keep the theme from breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed May 25, 2024
1 parent 3c55753 commit 313c8d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
with:
# Includes history for MkDocs plugin
fetch-depth: 0

- name: Hide TEMPLATE
run: sudo rm -f TEMPLATE.md

- name: Setup Pages
uses: actions/configure-pages@v5
Expand All @@ -51,7 +54,7 @@ jobs:
- name: Fix links to Markdown pages
run: |
cd ./html
sudo find . -type f -exec sed -i -r "s:\.md:\.html:g" {} \;
sudo find . -name "*.html" -type f -exec sed -i -r "s:\.md:\.html:g" {} \;
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 313c8d9

Please sign in to comment.