quickfix: add missing dependency for docs (#2388)

follow-up to #2368:
- add mkdocs-redirect to frontend Docker, docs build ci
- build frontend when changing mkdocs
This commit is contained in:
Ilya Kreymer 2025-02-12 13:39:06 -08:00 committed by GitHub
parent edf1edbbd1
commit b121076e63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: 3.x python-version: 3.x
- run: pip install mkdocs-material requests pyyaml - run: pip install mkdocs-material mkdocs-redirects requests pyyaml
- name: Generate Helm Chart Index - name: Generate Helm Chart Index
run: python ./scripts/generate-helm-index.py > ./frontend/docs/docs/helm-repo/index.yaml run: python ./scripts/generate-helm-index.py > ./frontend/docs/docs/helm-repo/index.yaml

View File

@ -35,6 +35,7 @@ jobs:
- 'frontend/*.json' - 'frontend/*.json'
- 'frontend/*.js' - 'frontend/*.js'
- 'frontend/*.ts' - 'frontend/*.ts'
- 'frontend/docs/mkdocs.yml'
- '.github/workflows/frontend-lint-test-build.yaml' - '.github/workflows/frontend-lint-test-build.yaml'
unit-tests: unit-tests:

View File

@ -40,7 +40,7 @@ FROM --platform=$BUILDPLATFORM docker.io/library/python:3.12-slim as build_docs
WORKDIR /docs WORKDIR /docs
RUN pip install mkdocs-material RUN pip install mkdocs-material mkdocs-redirects
COPY --link ./docs/mkdocs.yml . COPY --link ./docs/mkdocs.yml .
COPY --link ./docs/docs ./docs COPY --link ./docs/docs ./docs