From eb3b362c4e03098be2b1af432cd0864879c6886c Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Fri, 13 Dec 2024 16:34:23 -0800 Subject: [PATCH] chore: fix the GitHub pages workflow (#3716) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of moving this directory, we need to copy it now so that we can ‘mount’ it in two places --- .github/workflows/actions/compile-gh-pages/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/compile-gh-pages/action.yml b/.github/workflows/actions/compile-gh-pages/action.yml index 984f5ccf60f..9fab2bba7de 100644 --- a/.github/workflows/actions/compile-gh-pages/action.yml +++ b/.github/workflows/actions/compile-gh-pages/action.yml @@ -12,13 +12,13 @@ runs: shell: bash run: | mkdir -p .ghpages-deploy - mv ./doc/* .ghpages-deploy + cp -r ./doc/* .ghpages-deploy - name: Assemble Deploy Versioned Subdirectory shell: bash run: | mkdir -p .ghpages-deploy/v1.x - mv ./doc/* .ghpages-deploy/v1.x + cp -r ./doc/* .ghpages-deploy/v1.x - uses: actions/upload-artifact@v4 with: