build(deps): bump packaging from 24.1 to 24.2 in /docs #1812
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docs | |
on: | |
pull_request: | |
branches: | |
- main | |
- release-* | |
paths: | |
- mkdocs.yml | |
- embedded-bins/Makefile.variables | |
- CODE_OF_CONDUCT.md | |
- docs/** | |
env: | |
MAKEFLAGS: -j | |
jobs: | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout k0s | |
uses: actions/checkout@v4 | |
- name: Prepare build environment | |
run: .github/workflows/prepare-build-env.sh | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: pip | |
cache-dependency-path: docs/requirements.txt | |
- name: Install dependencies | |
run: | | |
# https://github.com/actions/setup-python/issues/521 | |
# https://github.com/actions/python-versions/blob/3.10.9-3636985951/installers/nix-setup-template.sh#L53 | |
pip install --disable-pip-version-check -r docs/requirements_pip.txt | |
pip --version | |
pip install --disable-pip-version-check -r docs/requirements.txt | |
- name: Generate docs | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: make -C docs docs | |
- name: Upload site/ | |
uses: actions/upload-artifact@v4 | |
with: | |
name: site | |
path: site/ | |
dev-container: | |
name: Build docs dev container | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout k0s | |
uses: actions/checkout@v4 | |
- name: Build docs dev container | |
run: make -C docs .docker-image.serve-dev.stamp |