From f0c1b4fa41665991bd724fa47501176b805b2a93 Mon Sep 17 00:00:00 2001 From: Dmitriy Aleksandrov Date: Fri, 16 Oct 2026 15:25:01 +0300 Subject: [PATCH] fix: docs: check out the published site to another directory, mike builds the version into site Signed-off-by: Dmitriy Aleksandrov --- .github/workflows/docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 45c32c1..bd94904 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -55,11 +55,12 @@ jobs: - name: Checkout the site run: | + # mike builds the version into the site directory, the published site is checked out to another one git fetch origin gh-pages --depth=1 - git worktree add site origin/gh-pages + git worktree add pages origin/gh-pages - uses: actions/upload-pages-artifact@v3 with: - path: site + path: pages deploy: needs: build