From f9c7789ed5626db20128764c1e0db5a930684603 Mon Sep 17 00:00:00 2001 From: Raees Khan Date: Tue, 25 Nov 2025 16:14:16 +0100 Subject: [PATCH 1/2] fix --- .github/workflows/build-gh-pages.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-gh-pages.yml b/.github/workflows/build-gh-pages.yml index 50dc156804c..82fa1987d5e 100644 --- a/.github/workflows/build-gh-pages.yml +++ b/.github/workflows/build-gh-pages.yml @@ -36,13 +36,12 @@ jobs: ref: 'main' - name: Setup Pages uses: actions/configure-pages@v5 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 - with: - source: ./ - destination: ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v3 + with: + path: | + redirect_index.html + _data/ # Deployment job deploy: From 04c2b211d680764f031a6f551c5fa0330fbd8b73 Mon Sep 17 00:00:00 2001 From: Raees Khan Date: Fri, 28 Nov 2025 11:05:08 +0100 Subject: [PATCH 2/2] fix --- .github/workflows/build-gh-pages.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-gh-pages.yml b/.github/workflows/build-gh-pages.yml index 82fa1987d5e..e8c651be309 100644 --- a/.github/workflows/build-gh-pages.yml +++ b/.github/workflows/build-gh-pages.yml @@ -34,14 +34,23 @@ jobs: token: ${{ secrets.GHE_PAT }} github-server-url: https://github.tools.sap ref: 'main' + sparse-checkout: | + redirect_index.html + redirect_404.html + assets/ + sparse-checkout-cone-mode: true + - name: Prepare site folder + run: | + mkdir site + mv redirect_index.html site/index.html + mv redirect_404.html site/404.html + mv assets site/ - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: | - redirect_index.html - _data/ + path: site # Deployment job deploy: