From 6340aebd05a8ca69af779876f53ed94f02502bc4 Mon Sep 17 00:00:00 2001 From: mprinkezs <131883374+mprinkezs@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:52:13 +0200 Subject: [PATCH] Added replacement of canonical link --- .github/workflows/documentation.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index a548380d9..a9369fd66 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -26,6 +26,9 @@ jobs: - name: Set branch name id: branch run: echo "SUBDIR_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV + - name: Replace main by 2025 in canonical link + run: | + find . -type f -name "*.html" -exec sed -i 's@