From 0dfcd958454df1d4fbfa28aa85fdac03e11c04fe Mon Sep 17 00:00:00 2001 From: "milos.colic" Date: Mon, 15 Jan 2024 16:22:43 +0000 Subject: [PATCH] Add docs archive checkout. --- .github/workflows/docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d65022232..af1f5452c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,11 +28,10 @@ jobs: requirements_path: docs/docs-requirements.txt - name: checkout v0.3.x archive run: | - git submodule add https://github.com/databrickslabs/mosaic.git v0.3.x/mosaic - git checkout gh-pages-v0.3.x - rm -f .gitmodules + git archive gh-pages-v0.3.x | tar -x -C ./v0.3.x git add --all git commit -am "Adding v0.3.x docs" + cd v0.3.x ls -la - name: Push changes uses: ad-m/github-push-action@master