From 313c8d95d7513f6ce87cf2447bd4360e6072e065 Mon Sep 17 00:00:00 2001 From: KG Date: Sat, 25 May 2024 01:57:02 -0500 Subject: [PATCH] Limit link fixing to keep the theme from breaking --- .github/workflows/static.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index db61e4d4..a22ed89d 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -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 @@ -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