diff --git a/.github/workflows/build-test-docs.yml b/.github/workflows/build-test-docs.yml index 58d42a05..88c6271f 100644 --- a/.github/workflows/build-test-docs.yml +++ b/.github/workflows/build-test-docs.yml @@ -79,9 +79,13 @@ jobs: if [ -e docs~/robots.txt ]; then cp docs~/robots.txt docs~/build/robots.txt fi + + - name: Package documentation + run: | + tar -cf docs.tar -C docs~/build . - name: Upload artifact uses: actions/upload-artifact@v3 with: name: ${{ inputs.artifact || 'docs' }} - path: docs~/build \ No newline at end of file + path: docs.tar \ No newline at end of file diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 69c53f30..fe032780 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -83,6 +83,12 @@ jobs: run: | ls -lR docs/build + - name: Unpack documentation + run: | + tar -xf docs/build/docs.tar -C docs/build + tar -xf docs/build/dev/docs.tar -C docs/build/dev + rm -f docs/build/docs.tar docs/build/dev/docs.tar + - name: Setup Pages uses: actions/configure-pages@v3