Skip to content

[release-1.26] Bump Kubernetes to v1.26.9 #763

[release-1.26] Bump Kubernetes to v1.26.9

[release-1.26] Bump Kubernetes to v1.26.9 #763

Workflow file for this run

name: Build docs
on:
pull_request:
branches:
- main
- release-*
paths:
- mkdocs.yml
- embedded-bins/Makefile.variables
- docs/**
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- name: Checkout k0s
uses: actions/checkout@v3
- name: Prepare build environment
run: .github/workflows/prepare-build-env.sh
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
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
run: make -C docs docs
- name: Upload site/
uses: actions/upload-artifact@v3
with:
name: site
path: site/
dev-container:
name: Build docs dev container
runs-on: ubuntu-latest
steps:
- name: Checkout k0s
uses: actions/checkout@v3
- name: Build docs dev container
run: make -C docs .docker-image.serve-dev.stamp