From 73396e0ac02fdde3df85e9776b99cf48ea298fe0 Mon Sep 17 00:00:00 2001 From: John Mackey <109514137+Sunday-Crunk@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:46:22 +0100 Subject: [PATCH] Update mkdocsDeploySoteriaCurate.yml --- .github/workflows/mkdocsDeploySoteriaCurate.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/mkdocsDeploySoteriaCurate.yml b/.github/workflows/mkdocsDeploySoteriaCurate.yml index 34fc1b5..5b0d97c 100644 --- a/.github/workflows/mkdocsDeploySoteriaCurate.yml +++ b/.github/workflows/mkdocsDeploySoteriaCurate.yml @@ -36,6 +36,16 @@ jobs: git commit -m 'Deploy Curate MkDocs Site' git remote add origin https://x-access-token:${GITHUB_TOKEN}@github.com/penwern/curate-documentation.git git push -f origin HEAD:gh-pages + + - name: Test and debug text replacement + run: | + mkdir soteria-plus-docs + cp -R docs/* soteria-plus-docs/ + # List all relevant files to verify they are correctly identified + find soteria-plus-docs/ -type f \( -name '*.md' -o -name '*.markdown' \) + # Applying sed to replace text and displaying file contents before and after + find soteria-plus-docs/ -type f \( -name '*.md' -o -name '*.markdown' \) -exec sh -c 'echo "Before:"; cat {}; sed -i "s/Curate/Soteria+/g" {}; echo "After:"; cat {}' \; + - name: Generate Soteria+ Documentation run: |