Skip to content

Commit

Permalink
quickfix: add missing dependency for docs (#2388)
Browse files Browse the repository at this point in the history
follow-up to #2368:
- add mkdocs-redirect to frontend Docker, docs build ci
- build frontend when changing mkdocs
  • Loading branch information
ikreymer authored Feb 12, 2025
1 parent edf1edb commit b121076
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v4
with:
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
run: python ./scripts/generate-helm-index.py > ./frontend/docs/docs/helm-repo/index.yaml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/frontend-lint-test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- 'frontend/*.json'
- 'frontend/*.js'
- 'frontend/*.ts'
- 'frontend/docs/mkdocs.yml'
- '.github/workflows/frontend-lint-test-build.yaml'
unit-tests:
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FROM --platform=$BUILDPLATFORM docker.io/library/python:3.12-slim as build_docs

WORKDIR /docs

RUN pip install mkdocs-material
RUN pip install mkdocs-material mkdocs-redirects

COPY --link ./docs/mkdocs.yml .
COPY --link ./docs/docs ./docs
Expand Down

0 comments on commit b121076

Please sign in to comment.