From fe1ce7fa418acd048083fc09fee0cad73df9d666 Mon Sep 17 00:00:00 2001 From: itaigilo Date: Sun, 11 Aug 2024 20:12:48 +0300 Subject: [PATCH] Add base-url to sitemap.xml (#8073) * Add base-url to sitemap.xml * Change step name --- .github/workflows/docs-latest.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docs-latest.yaml b/.github/workflows/docs-latest.yaml index 1dd463815b4..bb5efc46e26 100644 --- a/.github/workflows/docs-latest.yaml +++ b/.github/workflows/docs-latest.yaml @@ -34,6 +34,11 @@ jobs: run: | sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io/' robots.txt + - name: Add base-url to sitemap.xml + working-directory: docs/_site + run: | + sed -i 's//https:\/\/docs.lakefs.io/' sitemap.xml + - name: Publish to docs repository uses: dmnemec/copy_file_to_another_repo_action@v1.1.1 env: