From 5e1f510c6c5b157cfabb0faeb445d8b6086ccf70 Mon Sep 17 00:00:00 2001 From: Gabor Szarnyas Date: Fri, 7 Jun 2024 12:39:31 +0200 Subject: [PATCH] Fix and link zip file --- .github/workflows/jekyll.yml | 10 ++++++---- docs/index.md | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e830a86dc08..894ac6f23b0 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -42,6 +42,8 @@ jobs: echo "star_count: \"${STAR_COUNT_FORMATTED}\"" >> _config.yml - name: Install Python requirements run: pip install -r requirements.txt + - name: Install zip + uses: montudor/action-zip@v1 - name: Fetch release calendar run: python scripts/get_calendar.py - name: Setup Pages @@ -54,10 +56,10 @@ jobs: env: JEKYLL_ENV: production - name: Zip _site directory - uses: montudor/action-zip@v1 - with: - args: zip -qq -r duckdb-docs.zip . - working-directory: _site + run: | + mv _site duckdb-docs + zip -qq -r duckdb-docs.zip duckdb-docs + mv duckdb-docs _site - name: Upload site artifacts and zip archive uses: actions/upload-artifact@v4 with: diff --git a/docs/index.md b/docs/index.md index f99d6cb9d9b..9760ab2a6a6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,7 +5,7 @@ title: Documentation Welcome to the DuckDB Documentation! -Feel free to grab a PDF copy of the documentation for offline reference. +Feel free to grab a PDF copy or a ZIP archive of the documentation for offline reference.

Sitemap