Skip to content

Commit

Permalink
Fix and link zip file
Browse files Browse the repository at this point in the history
  • Loading branch information
szarnyasg committed Jun 7, 2024
1 parent 37ae15a commit 5e1f510
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Documentation

Welcome to the DuckDB Documentation!

Feel free to grab a <a href="{{ site.baseurl }}/duckdb-docs.pdf">PDF copy</a> of the documentation for offline reference.
Feel free to grab a <a href="/duckdb-docs.pdf">PDF copy</a> or a <a href="/duckdb-docs.zip">ZIP archive</a> of the documentation for offline reference.

<h1>Sitemap</h1>

Expand Down

0 comments on commit 5e1f510

Please sign in to comment.