fix(ci): add step to create documentation artifact

This commit is contained in:
2025-12-02 15:59:06 +01:00
parent 9d0151a6d1
commit b8e8b87047

View File

@@ -59,6 +59,19 @@ jobs:
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "tag=v$version" >> "$GITHUB_OUTPUT"
- name: Install all dependencies
run: uv sync --all-groups
- name: Build documentation
run: uv run zensical build --clean
- name: Upload documentation artifact
uses: actions/upload-artifact@v4
with:
name: site
path: site/
retention-days: 1
- name: Build Changelog
id: build_changelog
uses: https://github.com/mikepenz/release-changelog-builder-action@v6.0.1
@@ -143,13 +156,17 @@ jobs:
VERSION: ${{ needs.prepare.outputs.version }}
TAG_NAME: ${{ needs.prepare.outputs.tag }}
UV_PATH: 'C:\Users\gitea_runner_windows\.local\bin\uv.exe'
UV_NO_PROJECT: "1"
UV_NO_CONFIG: "1"
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Download documentation artifact
uses: actions/download-artifact@v4
with:
name: site
path: site/
- name: Ensure Python via uv
shell: powershell
run: |
@@ -176,11 +193,6 @@ jobs:
run: |
& $env:UV_PATH sync --all-groups
- name: Build documentation
shell: powershell
run: |
& $env:UV_PATH run zensical build --clean
- name: Build Windows release with Nuitka
shell: powershell
run: |