Skip to content

[Docs] Updated 2.44.0-1 to mention not affected installations (#3682) #114

[Docs] Updated 2.44.0-1 to mention not affected installations (#3682)

[Docs] Updated 2.44.0-1 to mention not affected installations (#3682) #114

Workflow file for this run

name: PMM Docs 2.x
on:
push:
branches:
- main
paths:
- "documentation/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # read more about why this is necessary at https://github.com/jimporter/mike/issues/60
sparse-checkout: |
.github
documentation
Makefile
Makefile.include
- name: Setup Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.x'
cache: 'pip'
- name: Setup MkDocs
working-directory: documentation
run: |
python -m pip install --upgrade pip
pip install wheel
test -f requirements.txt && pip install -r requirements.txt
- name: Configure git
env:
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }}
run: |
git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com"
git config user.name "GitHub Action"
git config user.email "github-action@users.noreply.github.com"
git config user.password "${ROBOT_TOKEN}"
echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV
- name: Check for unused images
run: make doc-check-images
# Builds Material-themed static web site in 'publish' branch
- name: Build a themed site (2.x)
working-directory: documentation
run: |
mike deploy 2 -b publish -p
mike retitle 2 "2.x" -b publish -p