Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,12 @@ jobs:
make woke

build:
needs: aggregate
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: gardenlinux/docs-ng

- name: Download aggregated docs
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: aggregated-docs
path: docs/

- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0

Expand All @@ -169,9 +163,31 @@ jobs:
node-version: "22"
cache: "pnpm"

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0
with:
python-version: "3.13"

- name: Install dependencies
run: |
pnpm install
pip install git+https://github.com/gardenlinux/glrd.git@v4.1.0
pip install git+https://github.com/gardenlinux/python-gardenlinux-lib.git@0.10.20
pip install -r requirements.txt

- name: Run aggregate
run: |
OVERRIDE_ARGS=""
if [ -n "${{ inputs.override-repo }}" ]; then
OVERRIDE_ARGS="--repo ${{ inputs.override-repo }}"
if [ -n "${{ inputs.override-ref }}" ]; then
OVERRIDE_ARGS="$OVERRIDE_ARGS --override-ref ${{ inputs.override-ref }}"
fi
if [ -n "${{ inputs.override-commit }}" ]; then
OVERRIDE_ARGS="$OVERRIDE_ARGS --override-commit ${{ inputs.override-commit }}"
fi
fi
python3 src/aggregate.py $OVERRIDE_ARGS

- name: Run Vitepress Build
run: |
Expand Down
Loading